Share via


PortalSiteMapNode Constructor

Initializes a new instance of the PortalSiteMapNode class.

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

Syntax

'Declaration
Public Sub New ( _
    webNode As PortalWebSiteMapNode, _
    key As String, _
    type As NodeTypes, _
    url As String, _
    title As String, _
    description As String _
)
'Usage
Dim webNode As PortalWebSiteMapNode
Dim key As String
Dim type As NodeTypes
Dim url As String
Dim title As String
Dim description As String

Dim instance As New PortalSiteMapNode(webNode, _
    key, type, url, title, description)
public PortalSiteMapNode(
    PortalWebSiteMapNode webNode,
    string key,
    NodeTypes type,
    string url,
    string title,
    string description
)

Parameters

  • key
    Type: System.String

    A string used to identify this PortalWebSiteMapNode.

  • url
    Type: System.String

    The URL of the PortalWebSiteMapNode object, usually the destination of a link when rendered by a user interface (UI) control.

  • title
    Type: System.String

    The title of the PortalWebSiteMapNode object, usually the displayed label of a link when it is rendered by a UI control.

  • description
    Type: System.String

    The description of the PortalWebSiteMapNode object, displayed as a tool tip by some UI controls.

Remarks

Each PortalSiteMapNode object is associated with a PortalWebSiteMapNode object representing the Web site that owns this node in navigation.

See Also

Reference

PortalSiteMapNode Class

PortalSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace

#ctor(PortalSiteMapProvider, PortalWebSiteMapNode, String, NodeTypes, String, String, String)