This documentation is archived and is not being maintained.

SPNavigationNode Constructor (String, String, Boolean)

Windows SharePoint Services 3

Instantiates a new instance of the class that creates a new node. The constructor specifies the node title, or display name, and URL of the node, and specifies whether the new node is internal or external.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPNavigationNode(
	string title,
	string url,
	bool isExternal
)

Parameters

title
Type: System.String
Name of the node as displayed in the hierarchy tree control. Required.
url
Type: System.String
URL of the node. Required.
isExternal
Type: System.Boolean
Specifies whether the new node is an external node or an internal node. The new node is external if true; the node is internal if false. Required.

If the IsExternal parameter is set to false, the constructor attempts to create an internal node; if the constructor fails, it throws an error.

Show: