MemoryCacheStatistics.CurrentEstimatedSize Proprietà

Definizione

Ottiene una somma stimata di tutti i Size valori attualmente presenti nella cache di memoria.

public:
 property Nullable<long> CurrentEstimatedSize { Nullable<long> get(); void set(Nullable<long> value); };
public long? CurrentEstimatedSize { get; init; }
member this.CurrentEstimatedSize : Nullable<int64> with get, set
Public Property CurrentEstimatedSize As Nullable(Of Long)

Valore della proprietà

Restituisce null se le dimensioni non vengono rilevate. L'implementazione di MemoryCache comune tiene traccia delle dimensioni ogni volta che viene impostato sizeLimit nella cache.

Si applica a