ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Add メソッド

定義

IImmutableDictionary<TKey,TValue> インターフェイスをご覧ください。

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

パラメーター

key
TKey

追加するエントリのキー。

value
TValue

追加するエントリの値。

戻り値

追加のキーと値のペアを格納する、新しい変更できないディクショナリ。

実装

適用対象