SP.Navigation.topNavigationBar Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that collects navigation nodes corresponding to links in the top navigation bar of the site.

var value = SP.Navigation.get_topNavigationBar();

Property Value

Type: SP.NavigationNodeCollection

Applies To

SP.Navigation Class

Remarks

It must be null if the top navigation bar is defined in a different site or if the top navigation bar node collection has been deleted.

See Also

Reference

SP.Navigation Methods

SP.Navigation Properties

SP Namespace