System::Xml::Schema::XmlSchemaSimpleTypeUnion class
Contents
[
Hide
]XmlSchemaSimpleTypeUnion class
Represents the union element for simple types from XML Schema as specified by the World Wide Web Consortium (W3C). A union datatype can be used to specify the content of a simpleType. The value of the simpleType element must be any one of a set of alternative datatypes specified in the union. Union types are always derived types and must comprise at least two alternative datatypes.
class XmlSchemaSimpleTypeUnion : public System::Xml::Schema::XmlSchemaSimpleTypeContent
Methods
Method | Description |
---|---|
get_BaseMemberTypes() | Returns an array of XmlSchemaSimpleType objects representing the type of the simpleType element based on the XmlSchemaSimpleTypeUnion::get_BaseTypes and XmlSchemaSimpleTypeUnion::get_MemberTypes values of the simple type. |
get_BaseTypes() | Returns the collection of base types. |
get_MemberTypes() | Returns the array of qualified member names of built-in data types or simpleType elements defined in this schema (or another schema indicated by the specified namespace). |
set_MemberTypes(const ArrayPtr<SharedPtr<XmlQualifiedName>>&) | Sets the array of qualified member names of built-in data types or simpleType elements defined in this schema (or another schema indicated by the specified namespace). |
XmlSchemaSimpleTypeUnion() | Initializes a new instance of the XmlSchemaSimpleTypeUnion 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 XmlSchemaSimpleTypeContent
- Namespace System::Xml::Schema
- Library Aspose.PUB for C++