Share via


NavigationTerm.ExcludeFromCurrentNavigation property

Gets or sets whether this navigation term and its child terms are hidden from the current navigation menu.

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

Syntax

'Declaration
Public Property ExcludeFromCurrentNavigation As Boolean
    Get
    Set
'Usage
Dim instance As NavigationTerm
Dim value As Boolean

value = instance.ExcludeFromCurrentNavigation

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

Property value

Type: System.Boolean
true if this NavigationTerm object and its child terms are hidden from the current navigation menu; otherwise, false.

Remarks

The current navigation menu, also called the “left nav”, is the contextual navigation pane that typically appears on the left side of the page.

See also

Reference

NavigationTerm class

NavigationTerm members

Microsoft.SharePoint.Client.Publishing.Navigation namespace