SPContext.GetContext - Méthode (SPWeb)

Retourne le contexte Microsoft SharePoint Foundation pour le site Web spécifié Microsoft SharePoint Foundation .

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Shared Function GetContext ( _
    web As SPWeb _
) As SPContext
'Utilisation
Dim web As SPWeb
Dim returnValue As SPContext

returnValue = SPContext.GetContext(web)
public static SPContext GetContext(
    SPWeb web
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.SPContext
Le contexte SharePoint Foundation .

Voir aussi

Référence

SPContext classe

SPContext - Membres

GetContext - Surcharge

Microsoft.SharePoint - Espace de noms