XmlSchemaContentType 列舉

定義

複雜型別之內容模型的列舉型別 (Enumeration)。 這表示 post-schema-validation 資訊集 (infoset) 中的內容。

public enum class XmlSchemaContentType
public enum XmlSchemaContentType
type XmlSchemaContentType = 
Public Enum XmlSchemaContentType
繼承
XmlSchemaContentType

欄位

ElementOnly 2

純項目內容。

Empty 1

空白內容。

Mixed 3

混合內容。

TextOnly 0

純文字內容。

備註

IsMixed如果 屬性在具有 類型的 XmlSchemaComplexContent 屬性上 ContentModel 設定為 true ,則此處傳回的值為 MixedIsMixed如果屬性為 false ,則值為 EmptyElementOnly

如果屬性上的 ContentModel 型別具有 類型 XmlSchemaSimpleContent ,則這個值一律 TextOnly 為 。

適用於