Mono Class Library: System.Xml.XPath.XPathNavigator Overview | Members

System.Xml.XPath.XPathNavigator.Compile Method

Compiles the specified string that represents XPath expression and returns System.Xml.XPath.XPathExpression instance. [Edit]

public virtual XPathExpression Compile (string xpath)

Parameters

xpath
A string that represents XPath expression. [Edit]

Returns

An System.Xml.XPath.XPathExpression instance that is the result of compilation. [Edit]

Remarks

When the specified string did not conform to XPath expression syntax, stem.Xml.XPath.XPathException will be thrown. [Edit]

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0