This documentation is archived and is not being maintained.
HttpResponse.ClearContent Method
.NET Framework 1.1
Clears all content output from the buffer stream.
[Visual Basic] Public Sub ClearContent() [C#] public void ClearContent(); [C++] public: void ClearContent(); [JScript] public function ClearContent();
Example
The following example clears all content from the buffer stream.
[Visual Basic] Response.ClearContent() [C#] Response.ClearContent(); [C++] Response->ClearContent(); [JScript] Response.ClearContent()
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace
Show: