Share via


FileResult.WriteFile Method

Writes the file to the response.

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

Syntax

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

Parameters

See Also

Reference

FileResult Class

System.Web.Mvc Namespace