System::Xml::Schema::XmlSchemaComplexType class

XmlSchemaComplexType class

Represents the complexType element from XML Schema as specified by the World Wide Web Consortium (W3C). This class defines a complex type that determines the set of attributes and content of an element.

class XmlSchemaComplexType : public System::Xml::Schema::XmlSchemaType

Methods

MethodDescription
get_AnyAttribute()Returns the value for the XmlSchemaAnyAttribute component of the complex type.
get_Attributes()Returns the collection of attributes for the complex type.
get_AttributeUses()Returns the collection of all the complied attributes of this complex type and its base types.
get_AttributeWildcard()Returns the post-compilation value for anyAttribute for this complex type and its base type(s).
get_Block()Returns the block attribute.
get_BlockResolved()Returns the value after the type has been compiled to the post-schema-validation information set (infoset). This value indicates how the type is enforced when xsi:type is used in the instance document.
get_ContentModel()Returns the post-compilation XmlSchemaContentModel of this complex type.
get_ContentType()Returns the content model of the complex type which holds the post-compilation value.
get_ContentTypeParticle()Returns the particle that holds the post-compilation value of the XmlSchemaComplexType::get_ContentType particle.
get_IsAbstract()Returns the information that determines if the complexType element can be used in the instance document.
get_IsMixed() overrideReturns information that determines if the complex type has a mixed content model (markup within the content).
get_Particle()Returns the compositor type as one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.
set_AnyAttribute(const SharedPtr<XmlSchemaAnyAttribute>&)Sets the value for the XmlSchemaAnyAttribute component of the complex type.
set_Block(XmlSchemaDerivationMethod)Sets the block attribute.
set_ContentModel(const SharedPtr<XmlSchemaContentModel>&)Sets the post-compilation XmlSchemaContentModel of this complex type.
set_IsAbstract(bool)Sets the information that determines if the complexType element can be used in the instance document.
set_IsMixed(bool) overrideSets information that determines if the complex type has a mixed content model (markup within the content).
set_Particle(const SharedPtr<XmlSchemaParticle>&)Sets the compositor type as one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.
XmlSchemaComplexType()Initializes a new instance of the XmlSchemaComplexType 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