語言

XmlSchemaSimpleContentRestriction 類別

定義

代表 restriction 根據萬維網聯盟(W3C)規定的 XML 架構中簡單內容的元素。 此類別可用於透過限制推導簡單型別。 此類推導可用來限制元素值範圍為繼承簡單型別中指定的子集。

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

建構函式

名稱 Description
XmlSchemaSimpleContentRestriction()

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

屬性

名稱 Description
Annotation

取得或設定該 annotation 屬性。

(繼承來源 XmlSchemaAnnotated)
AnyAttribute

取得或設定 屬性 XmlSchemaAnyAttribute 值。

Attributes

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

BaseType

取得或設定簡單的型別基值。

BaseTypeName

取得或設定內建資料型別或該型別衍生的簡單型別名稱。

Facets

取得或設定 Xml Schema 的部分。

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)

適用於