Share via


XmlSchemaSimpleType.Content 屬性

定義

public:
 property System::Xml::Schema::XmlSchemaSimpleTypeContent ^ Content { System::Xml::Schema::XmlSchemaSimpleTypeContent ^ get(); void set(System::Xml::Schema::XmlSchemaSimpleTypeContent ^ value); };
public System.Xml.Schema.XmlSchemaSimpleTypeContent? Content { get; set; }
public System.Xml.Schema.XmlSchemaSimpleTypeContent Content { get; set; }
member this.Content : System.Xml.Schema.XmlSchemaSimpleTypeContent with get, set
Public Property Content As XmlSchemaSimpleTypeContent

屬性值

XmlSchemaSimpleTypeUnionXmlSchemaSimpleTypeListXmlSchemaSimpleTypeRestriction 之一。

備註

下表顯示可定義簡單類型的方式。

簡單類型 描述
Restriction 將簡單型別的值範圍限制為繼承之簡單型別的子集。
List 定義包含泛空白字元分隔之繼承簡單型別值清單的簡單型別。
Union 定義包含兩個或多個繼承簡單型別值之聯集的簡單型別。

適用於