Partager via


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

Définition

Consultez l’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

Paramètres

pairs
IEnumerable<KeyValuePair<TKey,TValue>>

Séquence de paires clé/valeur à ajouter au dictionnaire.

Retours

Nouveau dictionnaire immuable qui contient les paires clé/valeur supplémentaires.

Implémente

S’applique à