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

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

OutputCacheProfile.VaryByControl プロパティ

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

VaryByControl プロパティ取得または設定します

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

Dim instance As OutputCacheProfile
Dim value As String

value = instance.VaryByControl

instance.VaryByControl = value
public string VaryByControl { get;
 set; }
public:
property String^ VaryByControl {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_VaryByControl ()

/** @property */
public void set_VaryByControl (String value)
public function get VaryByControl
 () : String

public function set VaryByControl
 (value : String)

プロパティ
VaryByControl 値。

解説解説

VaryByControl は、キャッシュされるコントロールIDコンマ区切りセットです。

詳細については、「ユーザー コントロール出力複数バージョンキャッシュ」を参照してください

メモメモ

VaryByControl 設定は、@ OutputCache の VaryByControls 属性使用される設定と同じです。

使用例使用例

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

' Get the current VaryByControl.
Dim varyByControlValue As String
 = _
outputCacheProfile.VaryByControl
      
' Set the VaryByControl.
outputCacheProfile.VaryByControl = _
String.Empty
      
// Get the current VaryByControl.
String varyByControlValue = 
    outputCacheProfile.VaryByControl;

// Set the VaryByControl.
outputCacheProfile.VaryByControl = 
    string.Empty;

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS