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

public SPNavigation Navigation { get; }

Property Value

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