ImmutableDictionary<TKey, TValue>.IDictionary.Add Method (Object, Object)

 

Adds an element with the provided key and value to the immutable dictionary object.

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

void IDictionary.Add(
	object key,
	object value
)

Parameters

key
Type: System.Object

The object to use as the key of the element to add.

value
Type: System.Object

The object to use as the value of the element to add.

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

Return to top
Show: