Show: Delphi C++
Display Preferences

System.Generics.Collections.TDictionary.ContainsKey

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ContainsKey(const Key: TKey): Boolean;

C++

bool __fastcall ContainsKey(const TKey Key);

Properties

Type Visibility Source Unit Parent
function public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TDictionary

Description

Test if key in dictionary.

ContainsKey returns true if the given key is in the dictionary and false otherwise. This is an O(1) operation.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance