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

Adds the specified item 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 item to add.

Implements

ICollection<T>.Add(T)

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

Show: