Dictionary.Remove(TKey) Method
Version: Available or changed with runtime version 1.0.
Removes the value with the specified key from the Dictionary.
Syntax
[Ok := ] Dictionary.Remove(Key: TKey)
Parameters
Dictionary
Type: Dictionary
An instance of the Dictionary data type.
Key
Type: TKey
The key of the element to remove.
Return Value
[Optional] Ok
Type: Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if the given key was not found in the original Dictionary.
Related information
Dictionary Data Type
Get Started with AL
Developing Extensions