Method Add
Add(String, FieldValue)
Adds the specified key and value to the dictionary represented by
this instance.
Declaration
public void Add(string key, FieldValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | The key to add. |
| FieldValue | value | The value to add. If null,
Null will be added instead. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If key
is null. |
| ArgumentException | The value with the specified key already exists in the dictionary. |