System::Xml::Schema::XmlSchemaMaxLengthFacet class

XmlSchemaMaxLengthFacet class

Represents the maxLength element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to specify a restriction on the maximum length of the data value of a simpleType element. The length must be less than the value of the maxLength element.

class XmlSchemaMaxLengthFacet : public System::Xml::Schema::XmlSchemaNumericFacet

Methods

MethodDescription
XmlSchemaMaxLengthFacet()Initializes a new instance of the XmlSchemaMaxLengthFacet 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