PortalSiteMapNode Constructor
Specifies the constructor for 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.PortalWebSiteMapNode
The PortalWebSiteMapNode object that represents the Web site that owns this node in navigation.
- key
Type: System.String
A string used to identify this PortalWebSiteMapNode.
- type
Type: Microsoft.SharePoint.Publishing.NodeTypes
The type of the PortalWebSiteMapNode object.
- url
Type: System.String
The URL of the PortalWebSiteMapNode object, usually the destination of a link when rendered by a 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
Microsoft.SharePoint.Publishing.Navigation Namespace
#ctor(PortalSiteMapProvider, PortalWebSiteMapNode, String, NodeTypes, String, String, String)