ImmutableDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Add Method

Adds the specified value to the collection.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

void ICollection<KeyValuePair<TKey, TValue>>.Add(
	KeyValuePair<TKey, TValue> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>

The value to add.

Implements

ICollection<T>.Add(T)

This member is an explicit interface member implementation. It can be used only when the ImmutableDictionary<TKey, TValue> instance is cast to an ICollection<T> interface.

Show: