System::Xml::XPath::XPathNavigator::Matches-methode

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Bepaalt of het huidige knooppunt overeenkomt met de opgegeven XPathExpression.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParameterTypeBeschrijving
exprSharedPtr<XPathExpression>Een XPathExpression object dat de gecompileerde XPath expressie bevat.

ReturnValue

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

Zie ook

XPathNavigator::Matches(String) method

Bepaalt of het huidige knooppunt overeenkomt met de opgegeven XPath expressie.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParameterTypeBeschrijving
xpathStringDe XPath expressie.

ReturnValue

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

Zie ook