Method SetValue
SetValue(TKey, TValue)
Set value with the specified key
Declaration
public void SetValue(TKey key, TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | Key to use |
| TValue | value | value to insert |
SetValue(TKey, TValue, DateTime)
Set value and inserted date with the specified key. should be used only when loading the dictionary from storage.
Declaration
public void SetValue(TKey key, TValue value, DateTime date)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | Key to use |
| TValue | value | value to insert |
| DateTime | date | date to insert |