CacheEntryExtensions.SetValue(ICacheEntry, Object) Método

Definição

Define o valor da entrada de cache.Sets the value of the cache entry.

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);
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

Parâmetros

value
Object

O valor a ser definido no entry.The value to set on the entry.

Retornos

ICacheEntry

O ICacheEntry para encadeamento.The ICacheEntry for chaining.

Aplica-se a