CreateNavigator Method (XmlNode)
Collapse the table of content
Expand the table of content

XmlDocument.CreateNavigator Method (XmlNode)


Creates an XPathNavigator object for navigating this document positioned on the XmlNode specified.

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

protected internal virtual XPathNavigator CreateNavigator(
	XmlNode node


Type: System.Xml.XmlNode

The XmlNode you want the navigator initially positioned on.

Return Value

Type: System.Xml.XPath.XPathNavigator

An XPathNavigator object.

This method is a Microsoft extension to the Document Object Model (DOM).

See XmlNode.CreateNavigator for an example using this method.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft