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)
Visual Basic (Declaration)
Public Sub New ( _
title As String, _
url As String, _
isExternal As Boolean _
)
Dim title As String
Dim url As String
Dim isExternal As Boolean
Dim instance As New SPNavigationNode(title, url, isExternal)
public SPNavigationNode (
string title,
string url,
bool isExternal
)
Parameters
- title
Name of the node as displayed in the hierarchy tree control. Required.
- url
URL of the node. Required.
- isExternal
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.