Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > removeKey

removeKey

removeKey(keys: KeyType) updating;

The removeKey method of the Dictionary class removes an item with a specified key from a dictionary. If no entry with the value specified in the keys parameter key is found, an exception is raised.

The following is an example of the use of the removeKey method.

custNameDict.removeKey("Jones");

Use the removeKeyEntry method to remove specific duplicated key entries from a collection.