XmlSchemaSet.Count 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 . 中邏輯 XML 結構定義語言(XSD)結構 XmlSchemaSet的數量。
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
屬性值
邏輯結構的 XmlSchemaSet數量。
備註
若 中 有兩個命名空間http://www.contoso.comXmlSchemaSetCount的結構,屬性會回傳 1,因為這些結構在驗證時被視為單一邏輯結構。 然而,如果一個命名空間 http://www.contoso.com/retail 的結構會匯入該 http://www.contoso.com/books 命名空間的結構,該屬性的值 Count 會是 2。