Freigeben über


SPContext.GetContext-Methode (SPWeb)

Gibt den Kontext der Microsoft SharePoint Foundation für die angegebene Microsoft SharePoint Foundation -Website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetContext ( _
    web As SPWeb _
) As SPContext
'Usage
Dim web As SPWeb
Dim returnValue As SPContext

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

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.SPContext
Der SharePoint Foundation -Kontext.

Siehe auch

Referenz

SPContext Klasse

SPContext-Member

GetContext-Überladung

Microsoft.SharePoint-Namespace