Method Remove
Remove(K)
Remove an entry with a given key from the dictionary
Declaration
bool Remove(K key)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key of the entry to remove |
Returns
Type | Description |
---|---|
System.Boolean | True if an entry was found (and removed) |
Remove(K, out V)
Remove an entry with a given key from the dictionary and report its value.
Declaration
bool Remove(K key, out V val)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key of the entry to remove |
V | val | On exit, the value of the removed entry |
Returns
Type | Description |
---|---|
System.Boolean | True if an entry was found (and removed) |