OutputCacheSection.EnableOutputCache プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > OutputCacheSection.EnableOutputCache プロパティの意味・解説 

OutputCacheSection.EnableOutputCache プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

出力キャッシュが有効かどうかを示す値を取得または設定します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Property EnableOutputCache As
 Boolean
Dim instance As OutputCacheSection
Dim value As Boolean

value = instance.EnableOutputCache

instance.EnableOutputCache = value
public bool EnableOutputCache { get;
 set; }
public:
property bool EnableOutputCache {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_EnableOutputCache ()

/** @property */
public void set_EnableOutputCache (boolean
 value)
public function get EnableOutputCache
 () : boolean

public function set EnableOutputCache
 (value : boolean)

プロパティ
出力キャッシュ有効な場合trueそれ以外場合false既定値true です。

解説解説

EnableFragmentCache プロパティfalse場合、@ OutputCache ディレクティブ内の設定またはそのページによって使用されるキャッシュ プロファイルに関係なく、ページサーバー上にキャッシュされません。詳細については、OutputCacheSettingsSection、OutputCacheProfile の各トピック参照してください

使用例使用例

EnableOutputCache プロパティ使用する方法次のコード例示します

' Get the current EnabledOutputCache.
  Dim enabledOutputCache As [Boolean] = _
  outputCacheSection.EnableOutputCache

' Set the EnabledOutputCache.
outputCacheSection.EnableOutputCache = False

// Get the current EnabledOutputCache.
Boolean enabledOutputCache = 
    outputCacheSection.EnableOutputCache;

// Set the EnabledOutputCache.
outputCacheSection.EnableOutputCache = false;

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
OutputCacheSection クラス
OutputCacheSection メンバ
System.Web.Configuration 名前空間
OutputCacheSettingsSection
OutputCacheProfile クラス
その他の技術情報
アプリケーション データキャッシュ
ページキャッシュ設定



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

OutputCacheSection.EnableOutputCache プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



OutputCacheSection.EnableOutputCache プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS