Page.Buffer 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定一個值,表示頁面輸出是否被緩衝。
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 。