System::Xml::XPath::XPathNavigator::Matches method

XPathNavigator::Matches(SharedPtr<XPathExpression>) method

Determines whether the current node matches the specified XPathExpression.

virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
ParameterTypeDescription
exprSharedPtr<XPathExpression>An XPathExpression object containing the compiled XPath expression.

ReturnValue

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

See Also

XPathNavigator::Matches(String) method

Determines whether the current node matches the specified XPath expression.

virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
ParameterTypeDescription
xpathStringThe XPath expression.

ReturnValue

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

See Also