ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Add Methode

Definition

Sehen Sie sich die Schnittstelle an 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

Parameter

key
TKey

Schlüssel des hinzuzufügenden Eintrags.

value
TValue

Der Wert des hinzuzufügenden Eintrags.

Gibt zurück

Ein neues unveränderliches Wörterbuch, das das zusätzliche Schlüssel-Wert-Paar enthält.

Implementiert

Gilt für: