Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateNavigator Method
Collapse the table of content
Expand the table of content

IXPathNavigable.CreateNavigator Method

Returns a new XPathNavigator object.

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

XPathNavigator CreateNavigator()

If the CreateNavigator method is called from an XmlNode object, the XPathNavigator object is initially positioned on the node from which the method was called. If the CreateNavigator method is called from an XPathDocument object or an XmlDocument object, the XPathNavigator object is positioned on the root of the document.

For examples of the CreateNavigator method, see the XmlNode, XPathDocument, or XmlDocument classes.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft