CacheEntryExtensions.SetSize(ICacheEntry, Int64) Metodo

Definizione

Imposta la dimensione del valore della voce della cache.Sets the size of the cache entry value.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ SetSize(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, long size);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetSize (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, long size);
static member SetSize : Microsoft.Extensions.Caching.Memory.ICacheEntry * int64 -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function SetSize (entry As ICacheEntry, size As Long) As ICacheEntry

Parametri

entry
ICacheEntry

Oggetto ICacheEntry.The ICacheEntry.

size
Int64

Dimensione da impostare in entry.The size to set on the entry.

Restituisce

Oggetto ICacheEntry per il concatenamento.The ICacheEntry for chaining.

Si applica a