title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
Dictionary.Set(TKey, TValue, var TValue) Method |
Sets the value associated with the specified key. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 1.0.
Sets the value associated with the specified key.
[Replaced := ] Dictionary.Set(Key: TKey, Value: TValue, var OldValue: TValue)
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.
[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.
Dictionary Data Type
Get Started with AL
Developing Extensions