Method Remove
Remove(string)
Removes the element with the specified key from the collection.
Declaration
bool Remove(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key of the element to remove. |
Returns
| Type | Description |
|---|---|
| bool | true if the element is successfully removed; otherwise, false. Returns true if key was not found. |