IMemoryCache.CreateEntry(Object) Método

Definición

Crea o sobrescribe una entrada en la caché.Create or overwrite an entry in the cache.

public:
 Microsoft::Extensions::Caching::Memory::ICacheEntry ^ CreateEntry(System::Object ^ key);
public Microsoft.Extensions.Caching.Memory.ICacheEntry CreateEntry (object key);
abstract member CreateEntry : obj -> Microsoft.Extensions.Caching.Memory.ICacheEntry
Public Function CreateEntry (key As Object) As ICacheEntry

Parámetros

key
Object

Un objeto que identifica la entrada.An object identifying the entry.

Devoluciones

ICacheEntry

Instancia de ICacheEntry recién creada.The newly created ICacheEntry instance.

Se aplica a