Compiles the specified string that represents XPath expression and returns System.Xml.XPath.XPathExpression instance.
- xpath
- A string that represents XPath expression.
An System.Xml.XPath.XPathExpression instance that is the result of compilation.
When the specified string did not conform to XPath expression syntax, stem.Xml.XPath.XPathException will be thrown.
Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0