 | RecentDictionaryTKey, TValueSetAndMaintainCount Method |
Adds/updates the dictionary with a new value. If the operation performs an
add, either the least-recently or most-recently accessed element will be
removed to make room for the new one (depending on the
RecentDictionaryEvictionMode passed into the constructor).
Namespace:
Scaleout.Collections
Assembly:
Scaleout.Collections (in Scaleout.Collections.dll) Version: 1.0.3.0 (1.0.3.0)
Syntaxpublic void SetAndMaintainCount(
TKey key,
TValue value
)
Parameters
- key
- Type: TKey
Key associated with the value. - value
- Type: TValue
New value.
See Also