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


Controller.Response Property

Gets the HttpResponseBase object for the current HTTP response.

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

Syntax

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

Property Value

Type: System.Web.HttpResponseBase
The response object.

See Also

Reference

Controller Class

System.Web.Mvc Namespace

Response