Method SetItem
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
SetItem(TKey, TValue)
Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.
IImmutableValueDictionary<TKey, TValue> SetItem(TKey key, TValue value)
Parameters
keyTKeyThe key of the entry to add.
valueTValueThe key value to set.
Returns
- IImmutableValueDictionary<TKey, TValue>
A new immutable dictionary that contains the specified key/value pair.