Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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


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.
© 2015 Microsoft