System.Xml.XPath.IXPathNavigable Interface

Assembly: System.Xml.dll
Namespace: System.Xml.XPath
Summary
Provides an accessor to the XPathNavigator.
C# Syntax:
public interface IXPathNavigable
Example
The following example creates an XPathNavigator object.
 XPathDocument doc = new XPathDocument("books.xml");
 XPathNavigator nav = doc.CreateNavigator();

    
See also:
System.Xml.XPath Namespace

System.Xml.XPath.IXPathNavigable Member List:

Public Methods
CreateNavigator Creates a new XPathNavigator for this IXPathNavigable interface.

System.Xml.XPath.IXPathNavigable Member Details

Method: CreateNavigator()
Summary
Creates a new XPathNavigator for this IXPathNavigable interface.
C# Syntax:
XPathNavigator CreateNavigator();
Return Value:
An XPathNavigator object.
Remarks
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.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.