Show: Delphi C++
Display Preferences

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

Personal tools
In Other Languages
Previous Versions
Assistance