共用方式為


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

定義

將一連串的值加入這個集合。

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

參數

items
IEnumerable<KeyValuePair<TKey,TValue>>

要加入這個集合的項目。

適用於