WriteFile Method (String)
Collapse the table of content
Expand the table of content

HttpResponseBase.WriteFile Method (String)

 

Writes the contents of the specified file to the HTTP response output stream as a file block.

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

Public Overridable Sub WriteFile (
	filename As String
)

Parameters

filename
Type: System.String

The name of the file to write to the HTTP output stream.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft