TDictionary<TKey,TValue>.ExtractPair(TKey) Method
Removes the value for a specified key without triggering lifetime management for objects.
public function ExtractPair(const key: TKey): TGenericPair; reintroduce; overload;
Parameters
- key
- Type: TKey
The key whose value to remove.
Return Value
Type: TGenericPair
The removed pair for the specified key if it existed; default otherwise.