OutputCacheParameters.VaryByCustom プロパティ

定義

出力キャッシュがキャッシュ エントリを変更するために使用するカスタム文字列のリストを取得します。

public:
 property System::String ^ VaryByCustom { System::String ^ get(); void set(System::String ^ value); };
public string VaryByCustom { get; set; }
member this.VaryByCustom : string with get, set
Public Property VaryByCustom As String

プロパティ値

String

カスタム文字列のリスト。

注釈

このプロパティに "browser" を指定すると、キャッシュ エントリはブラウザーの種類とメジャー バージョン番号によって異なります。 カスタム文字列が入力された場合、アプリケーションの Global.asax ファイルの HttpApplication.GetVaryByCustomString メソッドをオーバーライドする必要があります。

適用対象

こちらもご覧ください