Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpResponse.BufferOutput Property

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

Show:
© 2015 Microsoft