Export (0) Print
Expand All

SPControl.GetContextModule method

Returns the module that serves as context for the request.

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

public static SPModule GetContextModule(
	HttpContext context
)

Parameters

context
Type: System.Web.HttpContext

A System.Web.HTTPContext object, which encapsulates the HTTP-specific context that is used by the server to process site requests.

Return value

Type: Microsoft.SharePoint.SPModule
A Microsoft.SharePoint.SPModule object that represents the module.
Show:
© 2014 Microsoft