Language

MemoryCacheStatistics.CurrentEstimatedSize プロパティ

定義

現在メモリ キャッシュ内にあるすべての Size 値の推定合計を取得します。

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)

プロパティ値

サイズが追跡されていない場合は、 null を返します。 一般的な MemoryCache 実装では、SizeLimit がキャッシュに設定されるたびにサイズが追跡されます。

適用対象