The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Extensions::XPathEvaluate Method
.NET Framework (current version)
Evaluates an XPath expression.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | XPathEvaluate(XNode^, String^) | Evaluates an XPath expression. |
![]() ![]() | XPathEvaluate(XNode^, String^, IXmlNamespaceResolver^) | Evaluates an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver. |
Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order.
Note that nodes are returned in document order even when you use a reverse axis, such as preceding-sibling or ancestor-or-self.
Show:

