IMemoryCache.CreateEntry(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée ou remplace une entrée dans le 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
Paramètres
- key
- Object
Objet qui identifie l’entrée.
Retours
Instance nouvellement créée de ICacheEntry.