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
webNode
Type: Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNodeA PortalWebSiteMapNode object.
node
Type: Microsoft.SharePoint.Navigation.SPNavigationNodeAn SPNavigationNode object.
parentNode
Type: Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNodeA PortalSiteMapNode object that represents the parent node.
type
Type: Microsoft.SharePoint.Publishing.NodeTypesA NoteTypes enumeration value specifying the node type to return.
url
Type: System.StringA string that contains the URL of the node.
title
Type: System.StringA string that contains the title of the node.
description
Type: System.StringA string that contains the description of the node.