Page.Buffer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a value indicating whether the page output is buffered.
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
Property Value
true
if page output is buffered; otherwise, false
. The default is true
.
- Attributes
Remarks
In most circumstances, do not set this property in code. Set the Buffer attribute to true
using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.
Note
The Buffer property sets and gets the BufferOutput property.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈