XmlSchemaSimpleTypeList 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將來自 XML 結構描述的 list
項目依 World Wide Web Consortium (W3C) 規定表示。 這個類別可用於將 simpleType
項目定義為指定資料型別的值清單。
public ref class XmlSchemaSimpleTypeList : System::Xml::Schema::XmlSchemaSimpleTypeContent
public class XmlSchemaSimpleTypeList : System.Xml.Schema.XmlSchemaSimpleTypeContent
type XmlSchemaSimpleTypeList = class
inherit XmlSchemaSimpleTypeContent
Public Class XmlSchemaSimpleTypeList
Inherits XmlSchemaSimpleTypeContent
- 繼承
範例
如需使用此類別的範例,請參閱 XmlSchemaSimpleType 。
備註
當資料類型衍生自清單資料類型時,可以使用下列限制 Facet: length
、 maxLength
、、 minLength
、 enumeration
、 pattern
和 whiteSpace
。
對於每個 length
、 maxLength
和 minLength
,長度單位是以清單專案數目來測量。 的值 whiteSpace
固定為 collapse
值。
建構函式
XmlSchemaSimpleTypeList() |
初始化 XmlSchemaSimpleTypeList 類別的新執行個體。 |
屬性
Annotation |
取得或設定 |
BaseItemType |
依據簡單型別的 XmlSchemaSimpleType 和 ItemType 值,取得或設定 ItemTypeName,表示 |
Id |
取得或設定字串 ID。 (繼承來源 XmlSchemaAnnotated) |
ItemType |
取得或設定 |
ItemTypeName |
取得或設定在這個結構描述 (或指定命名空間指示的其他結構描述) 中定義之內建資料型別或 |
LineNumber |
取得或設定 |
LinePosition |
取得或設定 |
Namespaces |
取得或設定 XmlSerializerNamespaces,以便與這個結構描述物件一起使用。 (繼承來源 XmlSchemaObject) |
Parent |
取得或設定這個 XmlSchemaObject 的父項。 (繼承來源 XmlSchemaObject) |
SourceUri |
取得或設定載入結構描述之檔案的來源位置。 (繼承來源 XmlSchemaObject) |
UnhandledAttributes |
取得或設定不屬於目前結構描述之目標命名空間的限定屬性 (Attribute)。 (繼承來源 XmlSchemaAnnotated) |
方法
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |