MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) Metodo

Definizione

Imposta le dimensioni del valore della voce della cache.

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

Parametri

options
MemoryCacheEntryOptions

Opzioni su cui impostare le dimensioni della voce.

size
Int64

Dimensioni da impostare su MemoryCacheEntryOptions.

Valori restituiti

Oggetto MemoryCacheEntryOptions in modo che sia possibile concatenare altre chiamate.

Si applica a