Share via


CacheStoreProvider.Add(String, Object, CacheInsertOptions) Método

Definição

Adiciona o item especificado ao cache com opções.

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

Parâmetros

key
String

A chave usada para referenciar o item.

item
Object

O item a ser adicionado ao cache.

options
CacheInsertOptions

As opções de cache.

Retornos

Object

O objeto que foi adicionado ao cache.

Aplica-se a