PortalSiteMapProvider.CurrentNavSiteMapProvider Property

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
public static PortalSiteMapProvider CurrentNavSiteMapProvider { get; }

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.

See Also

Reference

PortalSiteMapProvider Class

PortalSiteMapProvider Members

Microsoft.SharePoint.Publishing.Navigation Namespace

PortalSiteMapProvider