Gets or sets a value indicating whether to buffer output and send it after the entire page is finished processing.
[Visual Basic]
Public Property BufferOutput As Boolean
[C#]
public bool BufferOutput {get; set;}
[C++]
public: __property bool get_BufferOutput();
public: __property void set_BufferOutput(bool);
[JScript]
public function get BufferOutput() : Boolean;
public function set BufferOutput(Boolean); Property Value
true if the output to client is buffered, otherwise false. The default is true.
Example
The following example takes action only if the output is buffered.
[Visual Basic]
If Response.BufferOutput = True Then
'...
End IF
[C#]
if (Response.BufferOutput == true)
{
//...
}
[C++]
if (Response->BufferOutput)
{
//...
}
[JScript]
if(Response.BufferOutput){
//...
}
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace