共用方式為


SPContext.GetCachedWeb method

擷取已快取此內容的網頁。

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

Syntax

'宣告
Public Function GetCachedWeb ( _
    key As String _
) As SPWeb
'用途
Dim instance As SPContext
Dim key As String
Dim returnValue As SPWeb

returnValue = instance.GetCachedWeb(key)
public SPWeb GetCachedWeb(
    string key
)

參數

傳回值

Type: Microsoft.SharePoint.SPWeb
已快取此內容的網頁

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace