
PortalSiteMapProvider.CurrentNavSiteMapProvider Property
Published: May 2010
Gets the PortalSiteMapProvider object that is attached by default to the current navigation or Quick Launch.
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.PortalSiteMapProviderA 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.
