ImmutableSortedDictionary<TKey,TValue>.AddRange Método

Definición

Agrega los pares clave-valor específicos al diccionario ordenado inmutable.

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>>

Pares clave-valor que se va a agregar.

Devoluciones

ImmutableSortedDictionary<TKey,TValue>

Nuevo diccionario inmutable que contiene los pares clave-valor adicionales.

Excepciones

Una de las claves especificadas ya existe en el diccionario, pero tiene un valor diferente.

Se aplica a