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