FileContentResult.WriteFile Method

Writes the file content to the response.

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

Syntax

'Declaration
Protected Overrides Sub WriteFile ( _
    response As HttpResponseBase _
)
protected override void WriteFile(
    HttpResponseBase response
)
protected:
virtual void WriteFile(
    HttpResponseBase^ response
) override

Parameters

See Also

Reference

FileContentResult Class

System.Web.Mvc Namespace