PagesSection.Buffer プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ページと .ascx コントロールが応答バッファリングを使用するかどうかを指定する値.aspx取得または設定します。
public:
property bool Buffer { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("buffer", DefaultValue=true)]
public bool Buffer { get; set; }
[<System.Configuration.ConfigurationProperty("buffer", DefaultValue=true)>]
member this.Buffer : bool with get, set
Public Property Buffer As Boolean
プロパティ値
true ページと .ascx コントロール.aspx応答バッファリングを使用する場合。それ以外の場合は false。 既定値は、true です。
- 属性
例
次のコード例は、 Buffer プロパティの使用方法を示しています。
// Get the current Buffer property value.
Console.WriteLine(
"Current Buffer value: '{0}'", pagesSection.Buffer);
// Set the Buffer property to true.
pagesSection.Buffer = true;
' Get the current Buffer property value.
Console.WriteLine( _
"Current Buffer value: '{0}'", pagesSection.Buffer)
' Set the Buffer property to true.
pagesSection.Buffer = True
注釈
応答バッファリングが有効になっている場合、ページまたはコントロールの出力は、ページまたはコントロール全体が処理されるまでバッファーされます。 パフォーマンスが重要な考慮事項である場合は、 Buffer を true に設定しないでください。