次の方法で共有


XmlSchemaElement.ElementType プロパティ

ElementType プロパティのコンパイル後の値を保持する要素の XmlSchemaElement または XmlSchemaElement に基づいた共通言語ランタイム (CLR: Common Language Runtime) オブジェクトを取得します。

Public ReadOnly Property ElementType As Object
[C#]
public object ElementType {get;}
[C++]
public: __property Object* get_ElementType();
[JScript]
public function get ElementType() : Object;

プロパティ値

共通言語ランタイム オブジェクト。 ElementType プロパティのコンパイル後の値。

解説

オブジェクトは、要素が組み込み XML スキーマ型の場合、 XmlSchemaDatatype になります。要素がユーザー定義型の場合は XmlSchemaSimpleType になります。

このプロパティは、スキーマ検証後の infoset プロパティです。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

XmlSchemaElement クラス | XmlSchemaElement メンバ | System.Xml.Schema 名前空間