Share via


ImmutableSortedDictionary<TKey,TValue>.AddRange Yöntem

Tanım

Sabit sıralanabilir sözlüğe belirli anahtar/değer çiftlerini ekler.

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)

Parametreler

items
IEnumerable<KeyValuePair<TKey,TValue>>

Eklenecek anahtar/değer çiftleri.

Döndürülenler

Ek anahtar/değer çiftlerini içeren yeni bir sabit sözlük.

Özel durumlar

Verilen anahtarlardan biri sözlükte zaten var ancak farklı bir değere sahip.

Şunlara uygulanır