Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IXPathNavigable::CreateNavigator Method ()

 

Returns a new XPathNavigator object.

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

XPathNavigator^ CreateNavigator()

Return Value

Type: System.Xml.XPath::XPathNavigator^

An XPathNavigator object.

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
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft