Upravit

Sdílet prostřednictvím


XDocumentExtensions.ToXPathNavigable(XNode) Method

Definition

Returns an accessor that allows you to navigate and edit the specified XNode.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Xml::XPath::IXPathNavigable ^ ToXPathNavigable(System::Xml::Linq::XNode ^ node);
public static System.Xml.XPath.IXPathNavigable ToXPathNavigable (this System.Xml.Linq.XNode node);
static member ToXPathNavigable : System.Xml.Linq.XNode -> System.Xml.XPath.IXPathNavigable
<Extension()>
Public Function ToXPathNavigable (node As XNode) As IXPathNavigable

Parameters

node
XNode

The XML node to navigate.

Returns

An interface that provides an accessor to the XPathNavigator class.

Applies to