Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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