Export (0) Print
Expand All

ImmutableDictionary<TKey, TValue>.IImmutableDictionary<TKey, TValue>.AddRange Method

Adds the specified key/value pairs to the immutable dictionary.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

IImmutableDictionary<TKey, TValue> IImmutableDictionary<TKey, TValue>.AddRange(
	IEnumerable<KeyValuePair<TKey, TValue>> pairs
)

Parameters

pairs
Type: System.Collections.Generic.IEnumerable<KeyValuePair<TKey, TValue>>

The key/value pairs to add.

Return Value

Type: System.Collections.Immutable.IImmutableDictionary<TKey, TValue>
A new immutable dictionary that contains the additional key/value pairs.

Implements

IImmutableDictionary<TKey, TValue>.AddRange(IEnumerable<KeyValuePair<TKey, TValue>>)

This member is an explicit interface member implementation. It can be used only when the ImmutableDictionary<TKey, TValue> instance is cast to an IImmutableDictionary<TKey, TValue> interface.

Show:
© 2014 Microsoft