Share via


SPNavigation Class

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.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Navigation.SPNavigation

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPNavigation

Dim instance As SPNavigation
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPNavigation

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPNavigation Members

Microsoft.SharePoint.Navigation Namespace

SPWeb.Navigation

Other Resources

How To: Add Simple Site Navigation