CacheStoreProvider.Add(String, Object, CacheInsertOptions) メソッド

定義

オプションを指定して、指定された項目をキャッシュに追加します。

public:
 abstract System::Object ^ Add(System::String ^ key, System::Object ^ item, System::Web::Caching::CacheInsertOptions ^ options);
public abstract object Add (string key, object item, System.Web.Caching.CacheInsertOptions options);
abstract member Add : string * obj * System.Web.Caching.CacheInsertOptions -> obj
Public MustOverride Function Add (key As String, item As Object, options As CacheInsertOptions) As Object

パラメーター

key
String

項目の参照に使用されるキー。

item
Object

キャッシュに追加される項目。

options
CacheInsertOptions

キャッシュ オプション。

戻り値

Object

キャッシュに追加された項目。

適用対象