CacheStoreProvider.Add(String, Object, CacheInsertOptions) Metodo

Definizione

Aggiunge l'elemento specificato alla cache con opzioni.

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

Parametri

key
String

Chiave usata per fare riferimento all'elemento.

item
Object

Elemento da aggiungere alla cache.

options
CacheInsertOptions

Opzioni della cache.

Restituisce

Object

Oggetto aggiunto alla cache.

Si applica a