Compartilhar via


CacheEntryExtensions.SetSize(ICacheEntry, Int64) Método

Definição

Define o tamanho do valor da entrada de cache.

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

Parâmetros

size
Int64

O tamanho a ser definido na entry.

Retornos

O ICacheEntry para encadeamento.

Aplica-se a