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.
See Also
Dictionary Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for