HttpResponse.Buffer 屬性

定義

取得或設定值,指出是否要緩衝輸出並在整個回應處理完成之後將它送出。Gets or sets a value indicating whether to buffer output and send it after the complete response is finished processing.

public:
 property bool Buffer { bool get(); void set(bool value); };
public bool Buffer { get; set; }
member this.Buffer : bool with get, set
Public Property Buffer As Boolean

屬性值

如果對用戶端的輸出有緩衝,則為 true,否則為 falsetrue if the output to client is buffered; otherwise, false.

備註

Buffer 屬性已被取代為 BufferOutput 屬性,而且只是為了與 ASP 的舊版相容。The Buffer property has been deprecated in favor of the BufferOutput property and is provided only for compatibility with earlier versions of ASP. 透過 ASP.NET,使用 BufferOutputWith ASP.NET, use BufferOutput.

適用於