XmlSchemaCollection.Item[String] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得 XmlSchema 與指定命名空間 URI 相關聯的 。
public:
property System::Xml::Schema::XmlSchema ^ default[System::String ^] { System::Xml::Schema::XmlSchema ^ get(System::String ^ ns); };
public System.Xml.Schema.XmlSchema? this[string? ns] { get; }
public System.Xml.Schema.XmlSchema this[string ns] { get; }
member this.Item(string) : System.Xml.Schema.XmlSchema
Default Public ReadOnly Property Item(ns As String) As XmlSchema
參數
- ns
- String
你想回傳的結構所關聯的命名空間 URI。 這通常是該結構的部分 targetNamespace 。
屬性值
與 XmlSchema 命名空間 URI 相關聯; null 若該命名空間沒有載入結構,或該命名空間與 XDR 結構相關聯。
備註
Important
該 XmlSchemaCollection 類別在 .NET Framework 2.0 版本中已過時,並被該 XmlSchemaSet 類別取代。