ImmutableSortedDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See the IImmutableDictionary<TKey,TValue> interface.
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
Parameters
- key
- TKey
Key of the entry to be added.
- value
- TValue
Value of the entry to be added.
Returns
The IImmutableDictionary<TKey,TValue> instance.