System::Xml::Schema::XmlSchemaInfo class

XmlSchemaInfo class

Represents the post-schema-validation infoset of a validated XML node.

class XmlSchemaInfo : public System::Xml::Schema::IXmlSchemaInfo

Methods

MethodDescription
get_ContentType()Returns the XmlSchemaContentType object that corresponds to the content type of this validated XML node.
get_IsDefault() overrideReturns a value indicating if this validated XML node was set as the result of a default being applied during XML Schema Definition Language (XSD) schema validation.
get_IsNil() overrideReturns a value indicating if the value for this validated XML node is nil.
get_MemberType() overrideReturns the dynamic schema type for this validated XML node.
get_SchemaAttribute() overrideReturns the compiled XmlSchemaAttribute object that corresponds to this validated XML node.
get_SchemaElement() overrideReturns the compiled XmlSchemaElement object that corresponds to this validated XML node.
get_SchemaType() overrideReturns the static XML Schema Definition Language (XSD) schema type of this validated XML node.
get_Validity() overrideReturns the XmlSchemaValidity value of this validated XML node.
set_ContentType(XmlSchemaContentType)Sets the XmlSchemaContentType object that corresponds to the content type of this validated XML node.
set_IsDefault(bool)Sets a value indicating if this validated XML node was set as the result of a default being applied during XML Schema Definition Language (XSD) schema validation.
set_IsNil(bool)Sets a value indicating if the value for this validated XML node is nil.
set_MemberType(const SharedPtr<XmlSchemaSimpleType>&)Sets the dynamic schema type for this validated XML node.
set_SchemaAttribute(const SharedPtr<XmlSchemaAttribute>&)Sets the compiled XmlSchemaAttribute object that corresponds to this validated XML node.
set_SchemaElement(const SharedPtr<XmlSchemaElement>&)Sets the compiled XmlSchemaElement object that corresponds to this validated XML node.
set_SchemaType(const SharedPtr<XmlSchemaType>&)Sets the static XML Schema Definition Language (XSD) schema type of this validated XML node.
set_Validity(XmlSchemaValidity)Sets the XmlSchemaValidity value of this validated XML node.
XmlSchemaInfo()Initializes a new instance of the XmlSchemaInfo 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