CacheStoreProvider.Add(String, Object, CacheInsertOptions) CacheStoreProvider.Add(String, Object, CacheInsertOptions) CacheStoreProvider.Add(String, Object, CacheInsertOptions) CacheStoreProvider.Add(String, Object, CacheInsertOptions) Method

Definition

Adds the specified item to the cache with options.

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

Parameters

key
String String String String

The key used to reference the item.

item
Object Object Object Object

The item to be added to the cache.

Returns

The object that was added to the cache.

Applies to