SPNavigation Members

Include Protected Members
Include Inherited Members

Serves as a wrapper class for navigation-related operations at the site collection level. 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
Public property GlobalNodes Gets the child nodes of the top-level navigation node as an SPNavigationNodeCollection object.
Public property Home Gets a node as an SPNavigationNode object that represents the site home page.
Public property QuickLaunch Gets an Microsoft.SharePoint.Navigation.SPNavigationNodeCollection object that contains the nodes that are exposed in the Quick Launch area of the site.
Public property TopNavigationBar Gets an Microsoft.SharePoint.Navigation.SPNavigationNodeCollection object that contains the nodes that correspond with links in the top navigation bar of the site.
Public property UseShared Gets or sets a Boolean value specifying whether the Web site inherits navigation.
Public property Web Gets an SPWeb object representing the Web site.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetNodeById Gets the navigation node (SPNavigationNode) by using an integer identifier.
Public method GetNodeByUrl Gets a navigation node object (SPNavigationNode) by using the URL of the node.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPNavigation Class

Microsoft.SharePoint.Navigation Namespace