System::Xml::Schema::XmlSchemaChoice class
Contents
[
Hide
]XmlSchemaChoice class
Represents the choice element (compositor) from the XML Schema as specified by the World Wide Web Consortium (W3C). The choice allows only one of its children to appear in an instance.
class XmlSchemaChoice : public System::Xml::Schema::XmlSchemaGroupBase
Methods
Method | Description |
---|---|
get_Items() override | Returns the collection of the elements contained with the compositor (choice): XmlSchemaElement, XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaSequence, or XmlSchemaAny. |
XmlSchemaChoice() | Initializes a new instance of the XmlSchemaChoice 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 XmlSchemaGroupBase
- Namespace System::Xml::Schema
- Library Aspose.PUB for C++