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 屬性。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應