Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Version: Available or changed with runtime version 1.0.
Adds the specified key and value to the dictionary.
Syntax
[Ok := ] Dictionary.Add(Key: TKey, Value: TValue)
Parameters
Dictionary
Type: Dictionary
An instance of the Dictionary data type.
Key
Type: TKey
The key of the element to add.
Value
Type: TValue
The value of the element to add.
Return Value
[Optional] Ok
Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Related information
Dictionary Data Type
Get Started with AL
Developing Extensions