Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the module that serves as context for the request.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function GetContextModule ( _
context As HttpContext _
) As SPModule
'Usage
Dim context As HttpContext
Dim returnValue As SPModule
returnValue = SPControl.GetContextModule(context)
public static SPModule GetContextModule(
HttpContext context
)
Parameters
context
Type: System.Web.HttpContextA 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.