TDictionary<TKey,TValue>.Extract(TKey) Method
Removes the value for a specified key without triggering lifetime management for objects.
public function Extract(const key: TKey): TValue; reintroduce; 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.