SPContext.GetCachedWeb 方法

检索此上下文缓存 web。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
)

参数

返回值

类型:Microsoft.SharePoint.SPWeb
此上下文缓存 web

另请参阅

引用

SPContext 类

SPContext 成员

Microsoft.SharePoint 命名空间