System.Generics.Collections.TDictionary.ExtractPair

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ExtractPair(const Key: TKey): TPair<TKey,TValue>;

C++

TPair__2<TKey,TValue> __fastcall ExtractPair(const TKey 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.

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.Generics.Collections.TDictionary.ExtractPair&oldid=595412"