XmlSchemaSimpleContentExtension 類別

定義

將來自 XML 結構描述之簡單內容的 extension 元素,依全球資訊網協會 (W3C) 的規定表示。 這個類別 (Class) 可用於由擴充衍生簡單類型。 這種衍生用於藉由加入屬性 (Attribute) 來擴充元素的簡單類型內容。

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

範例

如需使用此類別的範例,請參閱 XmlSchemaSimpleContent

建構函式

XmlSchemaSimpleContentExtension()

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

屬性

Annotation

取得或設定 annotation 屬性。

(繼承來源 XmlSchemaAnnotated)
AnyAttribute

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

Attributes

取得 XmlSchemaAttributeXmlSchemaAttributeGroupRef 的集合。

BaseTypeName

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

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)

適用於