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)

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