Method Remove
Remove(string)
Removes the value with the specified key from the dictionary
represented by this instance.
Declaration
public bool Remove(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key to remove. |
Returns
| Type | Description |
|---|---|
| bool | true if the value was found and removed,
false if key was not found in the
dictionary. |
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The key
is null. |