Adds an element with the provided key and value to the Dictionary.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

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

Parameters

key
Type: TKey
The object to use as the key of the element to add.
value
Type: TValue
The object to use as the value of the element to add.

Implements

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

See Also