Export (0) Print
Expand All

Page.Context Property

Gets the HttpContext object associated with the page.

[Visual Basic]
Overrides Protected ReadOnly Property Context As HttpContext
[C#]
protected override HttpContext Context {get;}
[C++]
protected: __property HttpContext* get_Context();
[JScript]
protected override function get Context() : HttpContext;

Property Value

An HttpContext object that contains information associated with the current page.

Remarks

This property provides programmatic access to the context the page runs in, including information about the request, response, session and application.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Page Class | Page Members | System.Web.UI Namespace | HttpContext

Show:
© 2014 Microsoft