Property this
this[string]
Gets or sets the value associated with the specified key.
Declaration
public override FieldValue this[string key] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key. |
Property Value
| Type | Description |
|---|---|
| FieldValue | The value associated with the key. If the
key is not found, a get operation throws a
KeyNotFoundException, and a set operation creates a
new value for the key. For set operation, if
value is null,
Null will be used. |
Overrides
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The key
is null. |
| KeyNotFoundException | The value is retrieved and
the key is not found in the dictionary. |