共用方式為


SPNavigationProvider.Web property

取得目前導覽範圍的網站 (SPWeb)。

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

Syntax

'宣告
Protected Overridable ReadOnly Property Web As SPWeb
    Get
'用途
Dim value As SPWeb

value = Me.Web
protected virtual SPWeb Web { get; }

Property value

Type: Microsoft.SharePoint.SPWeb
會傳回SPWeb物件,代表目前導覽範圍。

請參閱

參照

SPNavigationProvider class

SPNavigationProvider members

Microsoft.SharePoint.Navigation namespace

Microsoft.SharePoint.SPWeb