共用方式為


SPNavigation Class

Serves as a wrapper class for navigation-related operations. 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "Navigation", ServerTypeId := "{d6aa87a7-71b3-4bbe-bca7-00ab1bd7d37f}")> _
Public NotInheritable Class SPNavigation
'Usage
Dim instance As SPNavigation
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "Navigation", ServerTypeId = "{d6aa87a7-71b3-4bbe-bca7-00ab1bd7d37f}")]
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