XDocumentExtensions.ToXPathNavigable(XNode) Method

Definition

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

C#
public static System.Xml.XPath.IXPathNavigable ToXPathNavigable(this System.Xml.Linq.XNode node);

Parameters

node
XNode

The XML node to navigate.

Returns

An interface that provides an accessor to the XPathNavigator class.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1