System::Xml::XPath::XPathNavigator::CheckValidity méthode
XPathNavigator::CheckValidity method
Vérifie que les données XML dans le XPathNavigator sont conformes au langage de définition du Schema XML (XSD) fourni.
virtual bool System::Xml::XPath::XPathNavigator::CheckValidity(SharedPtr<System::Xml::Schema::XmlSchemaSet> schemas, System::Xml::Schema::ValidationEventHandler validationEventHandler)
| Paramètre | Type | Description |
|---|---|---|
| schemas | SharedPtr<System::Xml::Schema::XmlSchemaSet> | Le XmlSchemaSet contenant les schémas utilisés pour valider les données XML contenues dans le XPathNavigator. |
| validationEventHandler | System::Xml::Schema::ValidationEventHandler | Le ValidationEventHandler qui reçoit des informations sur les avertissements et les erreurs de validation du schéma. |
ReturnValue
true if no schema validation errors occurred; otherwise, false.
Voir aussi
- Typedef SharedPtr
- Class XmlSchemaSet
- Typedef ValidationEventHandler
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++