Dictionary.Remove() (Method)

Remove a key name and its item value from the Dictionary.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyDictionary.Remove(aKey)
Argument list:aKeyA textual key name

You should test that the key already exists before attempting to remove it. This will save you generating run-time errors if you attempt to remove items for non-existent keys.