Determines whether the current node matches the specified System.Xml.XPath.XPathExpression.
- expr
- An System.Xml.XPath.XPathExpression object containing the compiled XPath expression.
true if the current node matches the System.Xml.XPath.XPathExpression; otherwise, false.
This method has no effect on the state of the System.Xml.XPath.XPathNavigator. This method is identical to the XPathNavigator.Matches(string) method, except that a System.Xml.XPath.XPathExpression object containing the compiled XPath expression is specified, rather than an XPath expression string.