Click or drag to resize

ConverterCollectionsConverterDictionaryAdd Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Adds an element with the provided key and value to the dictionary.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual void Add(
	Object key,
	Object value
)

Parameters

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

Implements

IDictionaryAdd(Object, Object)
Exceptions
ExceptionCondition
ArgumentException An element with the same key already exists in the dictionary.
ArgumentNullException Key is null.
NotSupportedException The dictionary is read-only or the dictionary has a fixed size.
See Also