TMapBase<TKey,T>.Remove(TKey) Method
Removes the element with the specified key from the IMap<TKey, TValue>.
public
function Remove(const key: TKey): Boolean; reintroduce; overload; virtual; abstract;
Parameters
- key
- Type: TKey
The key of the element to remove.
Return Value
Type: Boolean
True if the element is successfully removed; otherwise, False. This method also returns False if key was not found in the original IMap<TKey, TValue>.