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