System::Xml::Schema::XmlSchemaSimpleType class

XmlSchemaSimpleType class

Represents the simpleType element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). This class defines a simple type. Simple types can specify information and constraints for the value of attributes or elements with text-only content.

class XmlSchemaSimpleType : public System::Xml::Schema::XmlSchemaType

Methods

MethodDescription
get_Content()Returns one of XmlSchemaSimpleTypeUnion, XmlSchemaSimpleTypeList, or XmlSchemaSimpleTypeRestriction.
set_Content(const SharedPtr<XmlSchemaSimpleTypeContent>&)Sets one of XmlSchemaSimpleTypeUnion, XmlSchemaSimpleTypeList, or XmlSchemaSimpleTypeRestriction.
XmlSchemaSimpleType()Initializes a new instance of the XmlSchemaSimpleType 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