TBidiDictionary<TKey,TValue>.ExtractPair(TKey) Method

Removes the value for a specified key without triggering lifetime management for objects.

Namespace: Spring.Collections.Dictionaries
public
 function ExtractPair(const key: TKey): TGenericPair; reintroduce; overload;

Parameters

key
Type: TKey

The key whose value to remove.

Return Value

The removed pair for the specified key if it existed; default otherwise.

Implements

IDictionary<TKey,TValue>.ExtractPair(TKey)