SPNavigationSiteMapNode constructor

Initializes a new instance of the SPNavigationSiteMapNode object.

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

Syntax

'Declaration
Protected Sub New ( _
    webNode As PortalWebSiteMapNode, _
    node As SPNavigationNode, _
    parentNode As PortalSiteMapNode, _
    type As NodeTypes, _
    url As String, _
    title As String, _
    description As String _
)
'Usage
Dim webNode As PortalWebSiteMapNode
Dim node As SPNavigationNode
Dim parentNode As PortalSiteMapNode
Dim type As NodeTypes
Dim url As String
Dim title As String
Dim description As String

Dim instance As New SPNavigationSiteMapNode(webNode, _
    node, parentNode, type, url, title, _
    description)
protected SPNavigationSiteMapNode(
    PortalWebSiteMapNode webNode,
    SPNavigationNode node,
    PortalSiteMapNode parentNode,
    NodeTypes type,
    string url,
    string title,
    string description
)

Parameters

  • url
    Type: System.String

    A string that contains the URL of the node.

  • title
    Type: System.String

    A string that contains the title of the node.

  • description
    Type: System.String

    A string that contains the description of the node.

See also

Reference

SPNavigationSiteMapNode class

SPNavigationSiteMapNode members

Microsoft.SharePoint.Publishing.Navigation namespace