[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds an element with the provided key and value to the IDictionary<(Of TKey, TValue>).

Namespace: net.esper.compat
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Sub Add ( _
	key As K, _
	value As V _
)
C#
public void Add (
	K key,
	V value
)
Visual C++
public:
virtual void Add (
	K key, 
	V value
) sealed

Parameters

key
K type parameter of net.esper.compat.LinkedDictionary<(Of K, V>).
The object to use as the key of the element to add.
value
V type parameter of net.esper.compat.LinkedDictionary<(Of K, V>).
The object to use as the value of the element to add.

Exceptions

ExceptionCondition
System.NotSupportedExceptionThe IDictionary<(Of TKey, TValue>) is read-only.
System.ArgumentExceptionAn element with the same key already exists in the IDictionary<(Of TKey, TValue>).
System.ArgumentNullExceptionkey is null.