IDictionary<TKey,TValue>.Remove Method

Overloads

Remove(TKey)

Removes the value with the specified key from the dictionary.

Remove(TKey)

Removes the value with the specified key from the dictionary.

Delphi
function Remove(const Key: TKey): Boolean; overload;

Parameters

Key
TKey

The key of the value to remove.

Returns

Boolean

True if the key was found and removed; otherwise, false.