Compartilhar via


SiteNavigationSettingsWriter.NavigationEnabled Property

Gets or sets whether navigation is enabled.

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

Syntax

'Declaration
Public Property NavigationEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SiteNavigationSettingsWriter
Dim value As Boolean

value = instance.NavigationEnabled

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

Property Value

Type: System.Boolean
Returns Boolean. true if navigation is enabled; otherwise, false.

See Also

Reference

SiteNavigationSettingsWriter Class

SiteNavigationSettingsWriter Members

Microsoft.SharePoint.Publishing.Navigation Namespace