System.Generics.Collections.TDictionary.ExtractPair
Delphi
function ExtractPair(const Key: K): TPair<K,V>;
C++
TPair__2<K,V> __fastcall ExtractPair(const K Key);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TDictionary |
Description
Returns the TPair<TKey,TValue>
pair with the specified Key
and removes the returned pair from a dictionary.
If the dictionary does not contain the specified Key
, the returned pair contains a default TValue
.