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
webNode
Type: Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNodeThe PortalWebSiteMapNode object that represents the Web site that owns this node in navigation.
key
Type: System.StringA string used to identify this PortalWebSiteMapNode.
type
Type: Microsoft.SharePoint.Publishing.NodeTypesThe type of the PortalWebSiteMapNode object.
url
Type: System.StringThe URL of the PortalWebSiteMapNode object, usually the destination of a link when rendered by a user interface (UI) control.
title
Type: System.StringThe title of the PortalWebSiteMapNode object, usually the displayed label of a link when it is rendered by a UI control.
description
Type: System.StringThe 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
Microsoft.SharePoint.Publishing.Navigation Namespace
#ctor(PortalSiteMapProvider, PortalWebSiteMapNode, String, NodeTypes, String, String, String)