System::Xml::Schema::XmlSchemaComplexContentExtension class

XmlSchemaComplexContentExtension class

Represents the extension element from XML Schema as specified by the World Wide Web Consortium (W3C). This class is for complex types with complex content model derived by extension. It extends the complex type by adding attributes or elements.

class XmlSchemaComplexContentExtension : public System::Xml::Schema::XmlSchemaContent

Methods

MethodDescription
get_AnyAttribute()Returns the XmlSchemaAnyAttribute component of the complex content model.
get_Attributes()Returns the collection of attributes for the complex content. Contains XmlSchemaAttribute and XmlSchemaAttributeGroupRef elements.
get_BaseTypeName()Returns the name of the complex type from which this type is derived by extension.
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 the complex type from which this type is derived by extension.
set_Particle(const SharedPtr<XmlSchemaParticle>&)Sets one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.
XmlSchemaComplexContentExtension()Initializes a new instance of the XmlSchemaComplexContentExtension 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