System::Xml::XPath::XPathNavigator::Matches méthode

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Détermine si le nœud actuel correspond à l’XPathExpression spécifié.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParamètreTypeDescription
exprSharedPtr<XPathExpression>Un objet XPathExpression contenant l’expression XPath compilée.

ReturnValue

true if the current node matches the XPathExpression; otherwise, false.

Voir aussi

XPathNavigator::Matches(String) method

Détermine si le nœud actuel correspond à l’expression XPath spécifiée.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParamètreTypeDescription
xpathStringL’expression XPath.

ReturnValue

true if the current node matches the specified XPath expression; otherwise, false.

Voir aussi