PortalSiteMapNode constructor
SharePoint 2013
Initializes a new instance of the PortalSiteMapNode class.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
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 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.
Each PortalSiteMapNode object is associated with a PortalWebSiteMapNode object representing the Web site that owns this node in navigation.