Table of Contents

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

key TKey

The key of the entry to add.

value TValue

The key value to set.

Returns

IImmutableValueDictionary<TKey, TValue>

A new immutable dictionary that contains the specified key/value pair.