Επεξεργασία

Κοινή χρήση μέσω


XmlDocumentXPathExtensions.CreateNavigator Method

Definition

Overloads

CreateNavigator(XmlDocument)

Creates a new XPath navigator object for navigating the specified document.

CreateNavigator(XmlNode)

Creates an XPath navigator for navigating the specified node.

CreateNavigator(XmlDocument, XmlNode)

Creates an XPath navigator object for navigating the specified document positioned on the specified node.

CreateNavigator(XmlDocument)

Creates a new XPath navigator object for navigating the specified document.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Xml::XPath::XPathNavigator ^ CreateNavigator(System::Xml::XmlDocument ^ document);
public static System.Xml.XPath.XPathNavigator CreateNavigator (this System.Xml.XmlDocument document);
static member CreateNavigator : System.Xml.XmlDocument -> System.Xml.XPath.XPathNavigator
<Extension()>
Public Function CreateNavigator (document As XmlDocument) As XPathNavigator

Parameters

document
XmlDocument

The document from which the XPath navigator is created.

Returns

An XPath navigator object.

Applies to

CreateNavigator(XmlNode)

Creates an XPath navigator for navigating the specified node.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Xml::XPath::XPathNavigator ^ CreateNavigator(System::Xml::XmlNode ^ node);
public static System.Xml.XPath.XPathNavigator CreateNavigator (this System.Xml.XmlNode node);
static member CreateNavigator : System.Xml.XmlNode -> System.Xml.XPath.XPathNavigator
<Extension()>
Public Function CreateNavigator (node As XmlNode) As XPathNavigator

Parameters

node
XmlNode

The node where the navigator is initially positioned.

Returns

An XPath navigator object used to navigate the node. The XPath navigator is positioned on the node from which the method is called, not on the root of the document.

Applies to

CreateNavigator(XmlDocument, XmlNode)

Creates an XPath navigator object for navigating the specified document positioned on the specified node.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Xml::XPath::XPathNavigator ^ CreateNavigator(System::Xml::XmlDocument ^ document, System::Xml::XmlNode ^ node);
public static System.Xml.XPath.XPathNavigator CreateNavigator (this System.Xml.XmlDocument document, System.Xml.XmlNode node);
static member CreateNavigator : System.Xml.XmlDocument * System.Xml.XmlNode -> System.Xml.XPath.XPathNavigator
<Extension()>
Public Function CreateNavigator (document As XmlDocument, node As XmlNode) As XPathNavigator

Parameters

document
XmlDocument

The document from which the XPath navigator is created.

node
XmlNode

The node where the navigator is initially positioned.

Returns

An XPath navigator object.

Applies to