SPControl.GetContextSite(HttpContext) SPControl.GetContextSite(HttpContext) SPControl.GetContextSite(HttpContext) SPControl.GetContextSite(HttpContext) Method

Definition

public:
 static Microsoft::SharePoint::SPSite ^ GetContextSite(System::Web::HttpContext ^ context);
public static Microsoft.SharePoint.SPSite GetContextSite (System.Web.HttpContext context);
static member GetContextSite : System.Web.HttpContext -> Microsoft.SharePoint.SPSite
Public Shared Function GetContextSite (context As HttpContext) As SPSite

Parameters

Returns

Applies to