Share via


HelperPage.Context Property

Gets the HttpContextBase object that is associated with a page.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared ReadOnly Property Context As HttpContextBase 
    Get
'Usage
Dim value As HttpContextBase 

value = HelperPage.Context
public static HttpContextBase Context { get; }
public:
static property HttpContextBase^ Context {
    HttpContextBase^ get ();
}
static member Context : HttpContextBase
static function get Context () : HttpContextBase

Property Value

Type: System.Web.HttpContextBase
The current context data.

See Also

Reference

HelperPage Class

System.Web.WebPages Namespace