From Xojo Documentation
Removes a single entry with the specified key from the Dictionary, invalidating all iterators that were created from the Dictionary. If there is no entry in the Dictionary for the key, a KeyNotFoundException is raised.
KeyNotFoundException when key is not in the Dictionary.
Remove the entry for the value "Test" in the Dictionary: