Compartilhar via


ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.AddRange Método

Definição

Consulte a interface IImmutableDictionary<TKey,TValue>.

 virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.AddRange(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ pairs) = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::AddRange;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.AddRange (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> pairs);
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.AddRange : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.AddRange : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function AddRange (pairs As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).AddRange

Parâmetros

pairs
IEnumerable<KeyValuePair<TKey,TValue>>

A sequência de pares chave/valor a ser adicionada ao dicionário.

Retornos

Um novo dicionário imutável que contém os pares chave/valor adicionais.

Implementações

Aplica-se a