ImmutableSortedDictionary<TKey,TValue>.SetItems 메서드

정의

변경할 수 없는 정렬된 사전에서 지정된 키/값 쌍을 설정하며 키에 대한 기존 값을 덮어쓸 수 있습니다.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ SetItems(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> SetItems(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
member this.SetItems : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function SetItems (items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)

매개 변수

items
IEnumerable<KeyValuePair<TKey,TValue>>

사전에 설정할 키/값 쌍입니다. 사전에 이미 있는 키가 있으면 이 메서드는 이전 값을 덮어씁 수 있습니다.

반품

지정된 키/값 쌍을 포함하는 변경할 수 없는 사전입니다.

적용 대상