HttpResponse.ClearContent Method ()

 

Clears all content output from the buffer stream.

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

Public Sub ClearContent

The ClearContent method does not clear header information.

The following example clears all content from the buffer stream.

Response.ClearContent()

.NET Framework
Available since 1.1
Return to top
Show: