Share via


NavigationTerm.ExcludeFromGlobalNavigation property

Gets or sets a value that indicates whether the navigation term and its child terms are hidden from the global navigation menu.

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

Syntax

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

value = instance.ExcludeFromGlobalNavigation

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

Property value

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

Remarks

Global navigation—sometimes called the “top navigation”—is the unchanging menu bar along the top of the page.

See also

Reference

NavigationTerm class

NavigationTerm members

Microsoft.SharePoint.Client.Publishing.Navigation namespace