RAttributeCollection.Add Method

Adds a new attribute to the collection.

Definition

Namespace: Extreme.Data.R
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public void Add(
	string key,
	RObject value
)

Parameters

key  String
The name of the attribute.
value  RObject
The value of the attribute.

Implements

IDictionary<TKey, TValue>.Add(TKey, TValue)

Exceptions

InvalidOperationException

The collection is read-only.

-or-

An attribute with the specified key already exists in the collection.

ArgumentNullException

key is null.

-or-

value is null.

See Also