SPNavigation Members
Include Protected Members
Include Inherited Members
Serves as a wrapper class for navigation-related operations. The SPNavigation object is available as a property value (SPWeb.Navigation) on the SPWeb object.
The SPNavigation type exposes the following members.
Properties
Name | Description | |
---|---|---|
GlobalNodes | Gets the top-level navigation nodes for the current context. | |
Home | Gets a node as an SPNavigationNode object that represents the site home page. | |
QuickLaunch | Gets an Microsoft.SharePoint.Navigation.SPNavigationNodeCollection object that contains the nodes in the Quick Launch area of the site. | |
TopNavigationBar | Gets an SPNavigationNodeCollection object that contains the nodes in the top link bar for the website. | |
UseShared | Gets or sets a Boolean value specifying whether the Web site inherits navigation. | |
Web | Gets an SPWeb object representing the Web site. |
Top
Methods
Name | Description | |
---|---|---|
AddToQuickLaunch | Adds a node to the Quick Launch under the specified heading. If the specified heading does not exist, it is created. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetNodeById | Gets the navigation node (SPNavigationNode) by using an integer identifier. | |
GetNodeByUrl | Gets a navigation node object (SPNavigationNode) by using the URL of the node. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top