XPathExpression.Compile Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Compiles the XPath expression specified and returns an XPathExpression object that represents the XPath expression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Compile(String) Compiles the XPath expression specified and returns an XPathExpression object representing the XPath expression.
Public methodStatic member Compile(String, IXmlNamespaceResolver) Compiles the specified XPath expression, with the IXmlNamespaceResolver object specified for namespace resolution, and returns an XPathExpression object that represents the XPath expression.

Top