語言

XmlSchemaSimpleTypeList 類別

定義

代表 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

取得或設定該 annotation 屬性。

(繼承來源 XmlSchemaAnnotated)
BaseItemType

取得或設定XmlSchemaSimpleType,根據簡單型態的 和 simpleType 值表示元素ItemTypeItemTypeName的型別。

Id

取得或設定字串 ID。

(繼承來源 XmlSchemaAnnotated)
ItemType

取得或設定 simpleType 由基值指定的類型衍生的元素。

ItemTypeName

取得或設定此結構中定義的內建資料型別或 simpleType 元素名稱(或指定命名空間所指示的其他結構)。

LineNumber

取得或設定該 schema 元素所指檔案中的行號。

(繼承來源 XmlSchemaObject)
LinePosition

取得或設定該元素所指檔案 schema 中的行位。

(繼承來源 XmlSchemaObject)
Namespaces

用這個結構物件取得或設定 XmlSerializerNamespaces 使用 。

(繼承來源 XmlSchemaObject)
Parent

取得或設定此 XmlSchemaObject的父節點。

(繼承來源 XmlSchemaObject)
SourceUri

取得或設定載入結構檔案的來源位置。

(繼承來源 XmlSchemaObject)
UnhandledAttributes

取得或設定不屬於目前結構目標命名空間的限定屬性。

(繼承來源 XmlSchemaAnnotated)

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於