System::Xml::Schema::XmlSchemaKeyref class

XmlSchemaKeyref class

This class represents the keyref element from XMLSchema as specified by the World Wide Web Consortium (W3C).

class XmlSchemaKeyref : public System::Xml::Schema::XmlSchemaIdentityConstraint

Methods

MethodDescription
get_Refer()Returns the name of the key that this constraint refers to in another simple or complex type.
set_Refer(const SharedPtr<XmlQualifiedName>&)Sets the name of the key that this constraint refers to in another simple or complex type.
XmlSchemaKeyref()Initializes a new instance of the XmlSchemaKeyref class.

Typedefs

TypedefDescription
PtrAn 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