XmlSchemaComplexType.ContentType プロパティ

定義

コンパイル後の値を保持する複合型のコンテンツ モデルを取得します。

public:
 property System::Xml::Schema::XmlSchemaContentType ContentType { System::Xml::Schema::XmlSchemaContentType get(); };
public System.Xml.Schema.XmlSchemaContentType ContentType { get; }
member this.ContentType : System.Xml.Schema.XmlSchemaContentType
Public ReadOnly Property ContentType As XmlSchemaContentType

プロパティ値

XmlSchemaContentType

複合型のコンテンツ モデルのコンパイル後の値。

注釈

これは、スキーマ検証後の情報セット内のコンテンツです。

プロパティが型をIsMixed持つプロパティにContentModel設定trueされている場合、返される値は Mixed.XmlSchemaComplexContent

プロパティが IsMixedfalse場合、値は 〗 Empty または ElementOnlyです。

プロパティの型に ContentModelXmlSchemaSimpleContentがある場合、この値は常に TextOnlyです。

プロパティには ContentType 、次の表に示す値のいずれかが必要です。

列挙型 説明
TextOnly テキストだけのコンテンツ。
Empty 空のコンテンツ。
ElementOnly 要素だけのコンテンツ。
Mixed 混合コンテンツ モデル。

適用対象