次の方法で共有


XmlSchemaSet.Count プロパティ

定義

XmlSchemaSet内の論理 XML スキーマ定義言語 (XSD) スキーマの数を取得します。

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

プロパティ値

XmlSchemaSet内の論理スキーマの数。

注釈

XmlSchemaSetに名前空間http://www.contoso.comのスキーマが 2 つある場合、スキーマは検証目的で 1 つの論理スキーマとして扱われるため、Count プロパティは 1 を返します。 ただし、名前空間のスキーマhttp://www.contoso.com/retailhttp://www.contoso.com/books名前空間のスキーマをインポートした場合、Count プロパティの値は 2 になります。

適用対象