Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Extensions.CreateNavigator Method (XNode)

Creates an XPathNavigator for an XNode.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

public static XPathNavigator CreateNavigator(
	this XNode node
)

Parameters

node
Type: System.Xml.Linq.XNode
An XNode that can process XPath queries.

Return Value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator that can process XPath queries.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XNode. When you use instance method syntax to call this method, omit the first parameter.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft