ImmutableSortedDictionary<TKey,TValue>.AddRange 메서드

정의

특정 키/값 쌍을 변경할 수 없는 정렬된 사전에 추가합니다.

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)

매개 변수

items
IEnumerable<KeyValuePair<TKey,TValue>>

추가할 키/값 쌍입니다.

반환

추가 키/값 쌍이 포함된 변경할 수 없는 새 사전입니다.

예외

지정된 키 중 하나가 이미 사전에 있지만 값이 다릅니다.

적용 대상