Xojo.Core.Dictionary.Remove
From Xojo Documentation
Method
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.
Exceptions
KeyNotFoundException when key is not in the Dictionary.
Sample Code
Remove the entry for the value "Test" in the Dictionary:
d1.Remove("Test")