Del via


MemoryCacheOptions.TrackLinkedCacheEntries Property

Definition

Gets or sets a value that indicates whether linked entries are tracked.

public:
 property bool TrackLinkedCacheEntries { bool get(); void set(bool value); };
public bool TrackLinkedCacheEntries { get; set; }
member this.TrackLinkedCacheEntries : bool with get, set
Public Property TrackLinkedCacheEntries As Boolean

Property Value

true if linked entries are tracked; otherwise, false. The default is false.

Remarks

Prior to .NET 7, this feature was always enabled.

Applies to