Dictionary.Add(TKey, TValue) Method
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.
See Also
Dictionary Data Type
Get Started with AL
Developing Extensions
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per