ImmutableSortedDictionary<TKey,TValue>.AddRange Método

Definição

Adiciona os pares chave/valor específicos ao dicionário classificado imutável.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ AddRange(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> AddRange (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
member this.AddRange : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function AddRange (items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)

Parâmetros

items
IEnumerable<KeyValuePair<TKey,TValue>>

Os pares chave/valor a serem adicionados.

Retornos

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

Exceções

Uma das chaves fornecidas já existe no dicionário, mas tem um valor diferente.

Aplica-se a