System::Xml::XPath::XPathNavigator::SelectSingleNode méthode
XPathNavigator::SelectSingleNode(SharedPtr<XPathExpression>) method
Sélectionne un seul nœud dans le XPathNavigator en utilisant l’objet XPathExpression spécifié.
virtual SharedPtr<XPathNavigator> System::Xml::XPath::XPathNavigator::SelectSingleNode(SharedPtr<XPathExpression> expression)
| Paramètre | Type | Description |
|---|---|---|
| expression | SharedPtr<XPathExpression> | Un objet XPathExpression contenant la requête XPath compilée. |
ReturnValue
Un objet XPathNavigator qui contient le premier nœud correspondant à la requête XPath spécifiée ; sinon nullptr s’il n’y a aucun résultat de requête.
Voir aussi
- Typedef SharedPtr
- Class XPathNavigator
- Class XPathExpression
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++
XPathNavigator::SelectSingleNode(String) method
Sélectionne un seul nœud dans le XPathNavigator en utilisant la requête XPath spécifiée.
virtual SharedPtr<XPathNavigator> System::Xml::XPath::XPathNavigator::SelectSingleNode(String xpath)
| Paramètre | Type | Description |
|---|---|---|
| xpath | String | Une String représentant une expression XPath. |
ReturnValue
Un objet XPathNavigator qui contient le premier nœud correspondant à la requête XPath spécifiée ; sinon, nullptr s’il n’y a aucun résultat de requête.
Voir aussi
- Typedef SharedPtr
- Class XPathNavigator
- Class String
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++
XPathNavigator::SelectSingleNode(String, SharedPtr<IXmlNamespaceResolver>) method
Sélectionne un nœud unique dans l’objet XPathNavigator en utilisant la requête XPath spécifiée avec l’objet IXmlNamespaceResolver indiqué pour résoudre les préfixes d’espace de noms.
virtual SharedPtr<XPathNavigator> System::Xml::XPath::XPathNavigator::SelectSingleNode(String xpath, SharedPtr<IXmlNamespaceResolver> resolver)
| Paramètre | Type | Description |
|---|---|---|
| xpath | String | Une String représentant une expression XPath. |
| resolver | SharedPtr<IXmlNamespaceResolver> | L’objet IXmlNamespaceResolver utilisé pour résoudre les préfixes d’espace de noms dans la requête XPath. |
ReturnValue
Un objet XPathNavigator qui contient le premier nœud correspondant à la requête XPath spécifiée ; sinon nullptr s’il n’y a aucun résultat de requête.
Voir aussi
- Typedef SharedPtr
- Class XPathNavigator
- Class String
- Class IXmlNamespaceResolver
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++