Export (0) Print
Expand All

HttpResponse.Clear Method

Clears all content output from the buffer stream.

[Visual Basic]
Public Sub Clear()
[C#]
public void Clear();
[C++]
public: void Clear();
[JScript]
public function Clear();

Example

The following example clears the current buffer stream.

[Visual Basic] 
Response.Clear()
    

[C#] 
Response.Clear();
    

[C++] 
Response->Clear();
    

[JScript] 
Response.Clear()
    

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpResponse Class | HttpResponse Members | System.Web Namespace

Show:
© 2014 Microsoft