Table of Contents

Method SetItems

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

SetItems(IEnumerable<KeyValuePair<TKey, TValue>>)

Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.

IImmutableValueDictionary<TKey, TValue> SetItems(IEnumerable<KeyValuePair<TKey, TValue>> items)

Parameters

items IEnumerable<KeyValuePair<TKey, TValue>>

The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.

Returns

IImmutableValueDictionary<TKey, TValue>

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