GetNodeByUrl Method
Collapse the table of content
Expand the table of content

SPNavigation.GetNodeByUrl Method

Gets a navigation node object (SPNavigationNode) by using the URL of the node.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public SPNavigationNode GetNodeByUrl(
	string url


Type: System.String

The URL of the node corresponding to the SPNavigationNode object.

If more than one node has the same URL, this method returns the first node.

© 2016 Microsoft