Поделиться через


Controller.Request Property

Gets the HttpRequestBase object for the current HTTP request.

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

Syntax

'Declaration
Public ReadOnly Property Request As HttpRequestBase
    Get
public HttpRequestBase Request { get; }
public:
property HttpRequestBase^ Request {
    HttpRequestBase^ get ();
}

Property Value

Type: System.Web.HttpRequestBase
The request object.

See Also

Reference

Controller Class

System.Web.Mvc Namespace

Request