key 制約を識別します。W3C (World Wide Web Consortium) key 要素を表します。
この型のすべてのメンバの一覧については、XmlSchemaKey メンバ を参照してください。
System.Object
System.Xml.Schema.XmlSchemaObject
System.Xml.Schema.XmlSchemaAnnotated
System.Xml.Schema.XmlSchemaIdentityConstraint
System.Xml.Schema.XmlSchemaKey
Public Class XmlSchemaKey
Inherits XmlSchemaIdentityConstraint
[C#]
public class XmlSchemaKey : XmlSchemaIdentityConstraint
[C++]
public __gc class XmlSchemaKey : public XmlSchemaIdentityConstraint
[JScript]
public class XmlSchemaKey extends XmlSchemaIdentityConstraint
スレッドセーフ
この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。
解説
属性値または要素値 (または値のセット) は指定したスコープ内のキーである必要があることを指定します。キーは、一意で nil 値/null 値を許容せず、常に存在している必要があります。制約名はスキーマ内で一意である必要があります。
使用例
このクラスの使用例については、 XmlSchemaKeyref のトピックを参照してください。
必要条件
名前空間: System.Xml.Schema
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
アセンブリ: System.Xml (System.Xml.dll 内)