共用方式為


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

屬性值

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

屬性

備註

在大多數情況下,不要在程式碼中設定此屬性。 設定 Buffer 屬性為 true 使用 .aspx 檔案中的 @ Page 指令。 當頁面被請求時,動態產生的類別會設定該屬性。

備註

屬性設定 Buffer 並取得屬性 BufferOutput

適用於