Language
Edit

LeastRecentlyUsedCache<KT,VT>.PeekOldestValue Method

Definition

Get the value of the oldest item.

public VT PeekOldestValue();
member this.PeekOldestValue : unit -> 'VT
Public Function PeekOldestValue () As VT

Returns

VT

Remarks

This is useful if you want to free up another external resource that is identified by the value stored in this LRU cache. This cache cen then be used to simply store identifiers of objects that are actually managed elsewhere.

Applies to