Page.Buffer 屬性

定義

設定數值,指出是否緩衝頁面輸出。

protected:
 property bool Buffer {  void set(bool value); };
public:
 property bool Buffer { bool get(); void set(bool value); };
protected bool Buffer { set; }
[System.ComponentModel.Browsable(false)]
public bool Buffer { get; set; }
member this.Buffer : bool
[<System.ComponentModel.Browsable(false)>]
member this.Buffer : bool with get, set
Protected Property Buffer As Boolean
Public Property Buffer As Boolean

屬性值

Boolean

如果緩衝頁面輸出,則為 true,否則為 false。 預設為 true

屬性

備註

在大部分情況下,請勿在程式碼中設定此屬性。 使用 .aspx 檔案中的@ Page指示詞, Buffer 將 屬性設定為 true 。 要求頁面時,動態產生的類別會設定 屬性。

注意

屬性 Buffer 會設定並取得 BufferOutput 屬性。

適用於