Adds an item to the Dictionary.

Namespace: System.Extensions.Collections.ObjectModel
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public void Add(
	TKey key,
	TValue value
)
Visual Basic
Public Sub Add ( 
	key As TKey,
	value As TValue
)
Visual C++
public:
virtual void Add(
	TKey key, 
	TValue value
) sealed
F#
abstract Add : 
        key : 'TKey * 
        value : 'TValue -> unit 
override Add : 
        key : 'TKey * 
        value : 'TValue -> unit 

Parameters

key
Type: TKey
The key of the item to add.
value
Type: TValue
The item to add.

Implements

IDictionary<(Of <(<'TKey, TValue>)>)>..::..Add(TKey, TValue)

See Also