Dictionary.ContainsKey(TKey) Method
Version: Available or changed with runtime version 1.0.
Determines whether the Dictionary contains the specified key.
Syntax
Ok := Dictionary.ContainsKey(Key: TKey)
Parameters
Dictionary
Type: Dictionary
An instance of the Dictionary data type.
Key
Type: TKey
The key to locate in the Dictionary.
Return Value
Ok
Type: Boolean
true if the Dictionary contains an element with the specified key, otherwise false.
Related information
Dictionary Data Type
Get Started with AL
Developing Extensions