检索此上下文缓存 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
)
参数
key
类型:System.String指定缓存 web 时的项。
返回值
类型:Microsoft.SharePoint.SPWeb
此上下文缓存 web