System::Xml::Schema::XmlSchemaSimpleContentExtension class

XmlSchemaSimpleContentExtension class

Represents the extension element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to derive simple types by extension. Such derivations are used to extend the simple type content of the element by adding attributes.

class XmlSchemaSimpleContentExtension : public System::Xml::Schema::XmlSchemaContent

Methods

MethodDescription
get_AnyAttribute()Returns the XmlSchemaAnyAttribute to be used for the attribute value.
get_Attributes()Returns the collection of XmlSchemaAttribute and XmlSchemaAttributeGroupRef.
get_BaseTypeName()Returns the name of a built-in data type or simple type from which this type is extended.
set_AnyAttribute(const SharedPtr<XmlSchemaAnyAttribute>&)Sets the XmlSchemaAnyAttribute to be used for the attribute value.
set_BaseTypeName(const SharedPtr<XmlQualifiedName>&)Sets the name of a built-in data type or simple type from which this type is extended.
XmlSchemaSimpleContentExtension()Initializes a new instance of the XmlSchemaSimpleContentExtension 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