System::Xml::Schema::XmlSchemaComplexContentRestriction class
Contents
[
Hide
]XmlSchemaComplexContentRestriction class
Represents the restriction element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is for complex types with a complex content model derived by restriction. It restricts the contents of the complex type to a subset of the inherited complex type.
class XmlSchemaComplexContentRestriction : public System::Xml::Schema::XmlSchemaContent
Methods
Method | Description |
---|---|
get_AnyAttribute() | Returns the XmlSchemaAnyAttribute component of the complex content model. |
get_Attributes() | Returns the collection of attributes for the complex type. Contains the XmlSchemaAttribute and XmlSchemaAttributeGroupRef elements. |
get_BaseTypeName() | Returns the name of a complex type from which this type is derived by restriction. |
get_Particle() | Returns one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes. |
set_AnyAttribute(const SharedPtr<XmlSchemaAnyAttribute>&) | Sets the XmlSchemaAnyAttribute component of the complex content model. |
set_BaseTypeName(const SharedPtr<XmlQualifiedName>&) | Sets the name of a complex type from which this type is derived by restriction. |
set_Particle(const SharedPtr<XmlSchemaParticle>&) | Sets one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes. |
XmlSchemaComplexContentRestriction() | Initializes a new instance of the XmlSchemaComplexContentRestriction 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 XmlSchemaContent
- Namespace System::Xml::Schema
- Library Aspose.PUB for C++