Table of Contents

Method SetItem

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

SetItem(TKey, TValue)

Creates a new ImmutableValueDictionary<TKey, TValue> with the specified key and value added or updated.

public ImmutableValueDictionary<TKey, TValue> SetItem(TKey key, TValue value)

Parameters

key TKey

The key to add or update.

value TValue

The value to associate with the key.

Returns

ImmutableValueDictionary<TKey, TValue>

A new dictionary with the key-value pair added or updated.