次の方法で共有


HttpContext.Cache プロパティ

定義

現在のアプリケーション ドメインの Cache オブジェクトを取得します。

public:
 property System::Web::Caching::Cache ^ Cache { System::Web::Caching::Cache ^ get(); };
public System.Web.Caching.Cache Cache { get; }
member this.Cache : System.Web.Caching.Cache
Public ReadOnly Property Cache As Cache

プロパティ値

現在のアプリケーション ドメインの Cache

注釈

アプリケーション ドメインごとに、 Cache クラスのインスタンスが 1 つあります。 その結果、Cache プロパティによって返されるCache オブジェクトは、アプリケーション ドメイン内のすべての要求のCache オブジェクトになります。

適用対象