Click or drag to resize

SimpleElementSimpleElementAttributesAdd 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.Run.Xml
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.
ArgumentException Key is not string, or it is not a valid attribute name, or value is not IXmlValue.
InvalidOperationException Parent SimpleElement is not mutable.
See Also