SPContext.GetContext method (SPWeb)
Retorna o contexto de Microsoft SharePoint Foundation para o site especificado Microsoft SharePoint Foundation .
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Shared Function GetContext ( _
web As SPWeb _
) As SPContext
'Uso
Dim web As SPWeb
Dim returnValue As SPContext
returnValue = SPContext.GetContext(web)
public static SPContext GetContext(
SPWeb web
)
Parâmetros
web
Type: Microsoft.SharePoint.SPWebUm objeto SPWeb que representa o site.
Valor retornado
Type: Microsoft.SharePoint.SPContext
O contexto de SharePoint Foundation .