Removes the element with the specified key from the IDictionary object.
Type Reason ArgumentNullException key is null. NotSupportedException The current instance is read-only or has a fixed size.
If the IDictionary object does not contain an element with the specified key, the IDictionary remains unchanged. No exception is thrown.