System::Xml::XmlDocument::Validate method

XmlDocument::Validate(Schema::ValidationEventHandler) method

Validates the XmlDocument against the XML Schema Definition Language (XSD) schemas contained in the XmlDocument::get_Schemas list.

void System::Xml::XmlDocument::Validate(Schema::ValidationEventHandler validationEventHandler)
ParameterTypeDescription
validationEventHandlerSchema::ValidationEventHandlerThe Schema::ValidationEventHandler object that receives information about schema validation warnings and errors.

See Also

XmlDocument::Validate(Schema::ValidationEventHandler, const SharedPtr<XmlNode>&) method

Validates the XmlNode object specified against the XML Schema Definition Language (XSD) schemas in the XmlDocument::get_Schemas list.

void System::Xml::XmlDocument::Validate(Schema::ValidationEventHandler validationEventHandler, const SharedPtr<XmlNode> &nodeToValidate)
ParameterTypeDescription
validationEventHandlerSchema::ValidationEventHandlerThe Schema::ValidationEventHandler object that receives information about schema validation warnings and errors.
nodeToValidateconst SharedPtr<XmlNode>&The XmlNode object created from an XmlDocument to validate.

See Also