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 |
---|---|
Boolean | true if the value was found and removed,
false if key was not found in the
dictionary. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The key
is null . |