XmlSchemaSimpleContentRestriction 類別

定義

將來自 XML 結構描述之簡單內容的 restriction 元素,依全球資訊網協會 (W3C) 的規定表示。 這個類別可用於透過限制衍生簡單類型。 此類衍生可用於將元素值的範圍限制為在繼承之簡單類型中指定的值子集。

public ref class XmlSchemaSimpleContentRestriction : System::Xml::Schema::XmlSchemaContent
public class XmlSchemaSimpleContentRestriction : System.Xml.Schema.XmlSchemaContent
type XmlSchemaSimpleContentRestriction = class
    inherit XmlSchemaContent
Public Class XmlSchemaSimpleContentRestriction
Inherits XmlSchemaContent
繼承
XmlSchemaSimpleContentRestriction

建構函式

XmlSchemaSimpleContentRestriction()

初始化 XmlSchemaSimpleContentRestriction 類別的新執行個體。

屬性

Annotation

取得或設定 annotation 屬性。

(繼承來源 XmlSchemaAnnotated)
AnyAttribute

取得或設定要用於屬性值的 XmlSchemaAnyAttribute

Attributes

取得簡單類型之屬性的 XmlSchemaAttributeXmlSchemaAttributeGroupRef 集合。

BaseType

取得或設定簡單類型基底數值。

BaseTypeName

取得或設定衍生這個類型之來源的內建資料類型或簡單類型的名稱。

Facets

取得或設定 XML 結構描述 facet。

Id

取得或設定字串 ID。

(繼承來源 XmlSchemaAnnotated)
LineNumber

取得或設定 schema 項目參考之檔案中的行號。

(繼承來源 XmlSchemaObject)
LinePosition

取得或設定 schema 項目參考之檔案中的行位置。

(繼承來源 XmlSchemaObject)
Namespaces

取得或設定 XmlSerializerNamespaces,以便與這個結構描述物件一起使用。

(繼承來源 XmlSchemaObject)
Parent

取得或設定這個 XmlSchemaObject 的父項。

(繼承來源 XmlSchemaObject)
SourceUri

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

(繼承來源 XmlSchemaObject)
UnhandledAttributes

取得或設定不屬於目前結構描述之目標命名空間的限定屬性 (Attribute)。

(繼承來源 XmlSchemaAnnotated)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於