Expand
PortalSiteMapProvider.CurrentNavSiteMapProvider Property

Published: May 2010

Gets the PortalSiteMapProvider object that is attached by default to the current navigation or Quick Launch.

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

'Declaration

Public Shared ReadOnly Property CurrentNavSiteMapProvider As PortalSiteMapProvider
	Get
'Usage

Dim value As PortalSiteMapProvider

value = PortalSiteMapProvider.CurrentNavSiteMapProvider

Property Value

Type: Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider
A reference to the PortalSiteMapProvider object.
Remarks

For the declaration of this PortalSiteMapProvider object and its default settings, see the web.config file.

This PortalSiteMapProvider uses the same settings as the CurrentNavSiteMapProviderNoEncode object, except that its EncodeOutput property is set to true.

Change History

Date

Description

Reason

May 2010

Initial publication

Community ContentAdd
Page view tracker