 | RouletteDictionaryTKey, TValueSetAndMaintainCount Method |
Adds/updates the dictionary with a new value. If the operation performs an
add, a random element will be removed to make room for the new one.
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