語言

XmlSchemaSimpleContentExtension 類別

定義

代表 extension 根據萬維網聯盟(W3C)規定的 XML 架構中簡單內容的元素。 此類別可透過擴展推導簡單型別。 這類推導用來擴充元素的簡單型別內容,加入屬性。

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 此類別的範例。

建構函式

名稱 Description
XmlSchemaSimpleContentExtension()

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

屬性

名稱 Description
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

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

(繼承來源 XmlSchemaAnnotated)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於