共用方式為


ImmutableSortedDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.SetItem 方法

定義

請參閱 IImmutableDictionary<TKey,TValue> 介面。

 virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.SetItem(TKey key, TValue value) = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::SetItem;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.SetItem (TKey key, TValue value);
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.SetItem : 'Key * 'Value -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.SetItem : 'Key * 'Value -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function SetItem (key As TKey, value As TValue) As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).SetItem

參數

key
TKey

所要更新項目的索引鍵。

value
TValue

所要更新項目的值。

傳回

IImmutableDictionary<TKey,TValue> 執行個體。

實作

適用於