This documentation is archived and is not being maintained.

IXPathNavigable.CreateNavigator Method

Creates a new XPathNavigator for this IXPathNavigable interface.

[Visual Basic]
Function CreateNavigator() As XPathNavigator
XPathNavigator CreateNavigator();
XPathNavigator* CreateNavigator();
function CreateNavigator() : XPathNavigator;

Return Value

An XPathNavigator object.


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IXPathNavigable Interface | IXPathNavigable Members | System.Xml.XPath Namespace