Method Update
Update(K, V)
Look for a specific key in the dictionary and if found replace the value with a new one. This can be seen as a non-adding version of "this[key] = val".
Declaration
public virtual bool Update(K key, V value)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key to look for |
V | value | The new value |
Returns
Type | Description |
---|---|
System.Boolean | True if key was found |
Implements
Update(K, V, out V)
Declaration
public virtual bool Update(K key, V value, out V oldvalue)
Parameters
Type | Name | Description |
---|---|---|
K | key | |
V | value | |
V | oldvalue |
Returns
Type | Description |
---|---|
System.Boolean |