共用方式為


SPNavigationNodeCollection.Navigation Property

Gets a navigation object (SPNavigation) for the collection.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Navigation As SPNavigation
    Get
'Usage
Dim instance As SPNavigationNodeCollection
Dim value As SPNavigation

value = instance.Navigation
public SPNavigation Navigation { get; }

Property Value

Type: Microsoft.SharePoint.Navigation.SPNavigation
A navigation object with information about the context for this collection.

See Also

Reference

SPNavigationNodeCollection Class

SPNavigationNodeCollection Members

Microsoft.SharePoint.Navigation Namespace