Navigation.TopNavigationBar Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property TopNavigationBar As NavigationNodeCollection
    Get
'Usage
Dim instance As Navigation
Dim value As NavigationNodeCollection

value = instance.TopNavigationBar
[RemoteAttribute]
public NavigationNodeCollection TopNavigationBar { get; }

Property Value

Type: Microsoft.SharePoint.Client.NavigationNodeCollection
Returns a NavigationNodeCollection.instance which collects navigation nodes corresponding to links in the top navigation bar of the site.

Remarks

It must be a null reference (Nothing in Visual Basic) 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

Navigation Class

Navigation Members

Microsoft.SharePoint.Client Namespace