Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IXPathNavigable.CreateNavigator Method

Definition

Namespace:
System.Xml.XPath
Assemblies:
netstandard.dll, System.Xml.ReaderWriter.dll
Assembly:
System.Xml.XPath.dll
Assembly:
System.Xml.ReaderWriter.dll
Assembly:
System.Xml.dll
Assembly:
netstandard.dll
Source:
IXPathNavigable.cs
Source:
IXPathNavigable.cs
Source:
XsdValidatingReaderAsync.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Returns a new XPathNavigator object.

public:
 System::Xml::XPath::XPathNavigator ^ CreateNavigator();
public System.Xml.XPath.XPathNavigator? CreateNavigator();
public System.Xml.XPath.XPathNavigator CreateNavigator();
abstract member CreateNavigator : unit -> System.Xml.XPath.XPathNavigator
Public Function CreateNavigator () As XPathNavigator

Returns

An XPathNavigator object.

Examples

For examples of the CreateNavigator method, see the XmlNode, XPathDocument, or XmlDocument classes.

Remarks

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.

Applies to

See also


Feedback

Was this page helpful?