XmlSchemaSimpleTypeList 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 list 由萬維網聯盟(W3C)規定的 XML 結構元素。 此類別可用來定義 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 此類別的範例。
備註
當資料型別由列表資料型態衍生時,可以使用以下限制面向:length、 maxLengthminLengthenumerationpatternwhiteSpace和 。
對於每個 length、 maxLength和 minLength,長度單位以清單項目數量來衡量。 的 whiteSpace 值固定於值 collapse 。
建構函式
| 名稱 | Description |
|---|---|
| XmlSchemaSimpleTypeList() |
初始化 XmlSchemaSimpleTypeList 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Annotation |
取得或設定該 |
| BaseItemType |
取得或設定XmlSchemaSimpleType,根據簡單型態的 和 |
| Id |
取得或設定字串 ID。 (繼承來源 XmlSchemaAnnotated) |
| ItemType |
取得或設定 |
| ItemTypeName |
取得或設定此結構中定義的內建資料型別或 |
| LineNumber |
取得或設定該 |
| LinePosition |
取得或設定該元素所指檔案 |
| Namespaces |
用這個結構物件取得或設定 XmlSerializerNamespaces 使用 。 (繼承來源 XmlSchemaObject) |
| Parent |
取得或設定此 XmlSchemaObject的父節點。 (繼承來源 XmlSchemaObject) |
| SourceUri |
取得或設定載入結構檔案的來源位置。 (繼承來源 XmlSchemaObject) |
| UnhandledAttributes |
取得或設定不屬於目前結構目標命名空間的限定屬性。 (繼承來源 XmlSchemaAnnotated) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
傳回表示目前 物件的字串。 (繼承來源 Object) |