共用方式為


SPContext.ClearCachedWeb method

移除先前已快取此內容的網頁。

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

Syntax

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

returnValue = instance.ClearCachedWeb(key)
public bool ClearCachedWeb(
    string key
)

參數

傳回值

Type: System.Boolean
true如果網頁已快取中找到,而且已成功移除 ;否則false。

備註

如果呼叫這個方法,將不再被自動處置網頁結尾的要求。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace