System::Xml::Schema::XmlSchemaIdentityConstraint class
Contents
[
Hide
]XmlSchemaIdentityConstraint class
Class for the identity constraints: key, keyref, and unique elements.
class XmlSchemaIdentityConstraint : public System::Xml::Schema::XmlSchemaAnnotated
Methods
| Method | Description | 
|---|---|
| get_Fields() | Returns the collection of fields that apply as children for the XML Path Language (XPath) expression selector. | 
| get_Name() | Returns the name of the identity constraint. | 
| get_QualifiedName() | Returns the qualified name of the identity constraint, which holds the post-compilation interpretation of the QualifiedName value. | 
| get_Selector() | Returns the XPath expression selector element. | 
| set_Name(const String&) | Sets the name of the identity constraint. | 
| set_Selector(const SharedPtr<XmlSchemaXPath>&) | Sets the XPath expression selector element. | 
| XmlSchemaIdentityConstraint() | Initializes a new instance of the XmlSchemaIdentityConstraint class. | 
Typedefs
| Typedef | Description | 
|---|---|
| Ptr | An alias for shared pointer to an instance of this class. | 
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class XmlSchemaAnnotated
- Namespace System::Xml::Schema
- Library Aspose.Page for C++