SPWeb.Navigation Property

Gets a navigation object that represents navigation on the website, including the Quick Launch area and the top navigation bar.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Navigation As SPNavigation
    Get
'Usage
Dim instance As SPWeb
Dim value As SPNavigation

value = instance.Navigation
[ClientCallableAttribute]
public SPNavigation Navigation { get; }

Property Value

Type: Microsoft.SharePoint.Navigation.SPNavigation
An object that represents the website navigation elements.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace