SPContext.GetContext method (SPWeb)
傳回指定的Microsoft SharePoint Foundation Web 站台的Microsoft SharePoint Foundation內容。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetContext ( _
web As SPWeb _
) As SPContext
'用途
Dim web As SPWeb
Dim returnValue As SPContext
returnValue = SPContext.GetContext(web)
public static SPContext GetContext(
SPWeb web
)
參數
web
Type: Microsoft.SharePoint.SPWebSPWeb物件,表示 Web 站台。
傳回值
Type: Microsoft.SharePoint.SPContext
SharePoint Foundation內容中。