[]
Removes the element with the specified key.
public bool Remove(Keys key)
Public Function Remove(key As Keys) As Boolean
Type | Name | Description |
---|---|---|
Keys | key | The key of the element to remove. |
Type | Description |
---|---|
bool | true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original collection. |