XPathNavigatorExtensions.DocumentURI MethodXPathNavigatorExtensions.DocumentURI MethodXPathNavigatorExtensions::DocumentURI Method

Gets the document URI of the node pointed to by the specified XPathNavigatorXPathNavigatorXPathNavigator.

Syntax

Public Shared Function DocumentURI( _
    navigator As System.Xml.XPath.XPathNavigator _
) As String
public static string DocumentURI(
    System.Xml.XPath.XPathNavigator navigator
)
public:
static String^ DocumentURI(
    System.Xml.XPath::XPathNavigator^ navigator
)
 

Return Value

Type: System.StringSystem.StringSystem::String^

The document URI, or null a null reference (Nothing in Visual Basic) nullptr if navigator is not pointing to a document node.