CacheEntryExtensions.SetValue(ICacheEntry, Object) Metodo

Definizione

Imposta il valore della voce della cache.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ SetValue(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, System::Object ^ value);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetValue (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, object value);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetValue (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, object? value);
static member SetValue : Microsoft.Extensions.Caching.Memory.ICacheEntry * obj -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function SetValue (entry As ICacheEntry, value As Object) As ICacheEntry

Parametri

entry
ICacheEntry

Oggetto ICacheEntry.

value
Object

Valore da impostare in entry.

Restituisce

Oggetto ICacheEntry per il concatenamento.

Si applica a