System.Xml.XPath.IXPathNavigable.CreateNavigator Method

Returns a new System.Xml.XPath.XPathNavigator object.

Syntax

public XPathNavigator CreateNavigator ()

Returns

An System.Xml.XPath.XPathNavigator object.

Remarks

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

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0