ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.AddRange 方法

定義

請參閱 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

參數

pairs
IEnumerable<KeyValuePair<TKey,TValue>>

要新增至字典的索引鍵/值組其序列。

傳回

IImmutableDictionary<TKey,TValue>

新的不可變字典,其中包含其他索引鍵/值組。

實作

適用於