XmlSchemaIdentityConstraint 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別條件約束的類別:key
、keyref
和 unique
項目。
public ref class XmlSchemaIdentityConstraint : System::Xml::Schema::XmlSchemaAnnotated
public class XmlSchemaIdentityConstraint : System.Xml.Schema.XmlSchemaAnnotated
type XmlSchemaIdentityConstraint = class
inherit XmlSchemaAnnotated
Public Class XmlSchemaIdentityConstraint
Inherits XmlSchemaAnnotated
- 繼承
- 衍生
如需使用此類別的範例,請參閱 XmlSchemaUnique 。
與唯一性和參考相關的數種身分識別條件約束名稱與其中之一之間的關聯。
Xml |
初始化 XmlSchemaIdentityConstraint 類別的新執行個體。 |
Annotation |
取得或設定 |
Fields |
取得當成 XML 路徑語言 (XPath) 運算式選取器之子系套用的欄位集合。 |
Id |
取得或設定字串 ID。 (繼承來源 XmlSchemaAnnotated) |
Line |
取得或設定 |
Line |
取得或設定 |
Name |
取得或設定識別條件約束的名稱。 |
Namespaces |
取得或設定 XmlSerializerNamespaces,以便與這個結構描述物件一起使用。 (繼承來源 XmlSchemaObject) |
Parent |
取得或設定這個 XmlSchemaObject 的父項。 (繼承來源 XmlSchemaObject) |
Qualified |
取得包含 |
Selector |
取得或設定 XPath 運算式 |
Source |
取得或設定載入結構描述之檔案的來源位置。 (繼承來源 XmlSchemaObject) |
Unhandled |
取得或設定不屬於目前結構描述之目標命名空間的限定屬性 (Attribute)。 (繼承來源 XmlSchemaAnnotated) |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |