ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.SetItems 메서드

정의

지정된 키-값 쌍 집합을 변경할 수 없는 사전에 적용하여 결과 사전의 충돌하는 키를 대체합니다.

 virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.SetItems(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items) = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::SetItems;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.SetItems(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.SetItems : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.SetItems : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function SetItems (items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).SetItems

매개 변수

items
IEnumerable<KeyValuePair<TKey,TValue>>

맵에 설정할 키-값 쌍입니다. 기존 키와 충돌하는 모든 키는 이전 값을 대체합니다.

반품

업데이트된 키-값 쌍이 있는 변경할 수 없는 사전의 복사본입니다.

구현

적용 대상