System.Generics.Collections.TPair

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

 TPair<TKey,TValue> = record
 Key: TKey;
 Value: TValue;
 constructor Create(const AKey: TKey; const AValue: TValue);
 end;

C++

template<typename TKey, typename TValue> struct __declspec(delphirecord) TPair__2

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections System.Generics.Collections

Description

TPair is a record holding a key-value pair.

A variable of type TPair contains a key-value pair.

See Also

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