Share via


SiteNavigationSettings.NavigationEnabled Property

Gets whether portal navigation is enabled.

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

Syntax

'Declaration
Public ReadOnly Property NavigationEnabled As Boolean
    Get
'Usage
Dim instance As SiteNavigationSettings
Dim value As Boolean

value = instance.NavigationEnabled
public bool NavigationEnabled { get; }

Property Value

Type: System.Boolean
Returns Boolean.

Remarks

A value of false indicates that the PortalSiteMapProvider behaves as if the navigation hierarchy is empty.

See Also

Reference

SiteNavigationSettings Class

SiteNavigationSettings Members

Microsoft.SharePoint.Publishing.Navigation Namespace