AdvisableDictionary<TKey, TValue>.Remove Method
Remove(TKey)
Removes the element with the specified key from the IDictionary<TKey,TValue>.
Declaration
public bool Remove(TKey key)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | The key of the element to remove. |
Returns
Type | Description |
---|---|
Boolean | true if the element is successfully removed; otherwise, false. This method also returns false if |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
NotSupportedException | The IDictionary<TKey,TValue> is read-only. |