Dictionary.Set(TKey, TValue, var TValue) Method
Version: Available or changed with runtime version 1.0.
Sets the value associated with the specified key.
Syntax
[Replaced := ] Dictionary.Set(Key: TKey, Value: TValue, var OldValue: TValue)
Parameters
Dictionary
Type: Dictionary
An instance of the Dictionary data type.
Key
Type: TKey
The key of the value to set.
Value
Type: TValue
The value that will be associated with the specified key.
OldValue
Type: TValue
The value that was previously associated with the specified key.
Return Value
[Optional] Replaced
Type: Boolean
true if the Dictionary contained a value associated with the given key that was replaced with the new value, otherwise false.
Related information
Dictionary Data Type
Get Started with AL
Developing Extensions