IDictionary<TKey,TValue>.Extract(TKey) Method

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

Namespace: Spring.Collections
public
 function Extract(const key: TKey): TValue; overload;

Parameters

key
Type: TKey

The key whose value to remove.

Return Value

Type: TValue

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