Modifier

Partager via


CacheStoreProvider.Insert(String, Object, CacheInsertOptions) Method

Definition

Inserts an object and dependencies into the cache.

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

Parameters

key
String

The key that is used to reference the object.

item
Object

The item to insert into the cache.

options
CacheInsertOptions

The cache options.

Applies to