Method Insert
Insert(Int32, FieldValue)
Inserts a value into the list represented by this instance at the
specified index.
Declaration
public void Insert(int index, FieldValue item)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The zero-based index at which to insert
item. |
| FieldValue | item | The value to be inserted. If null,
Null will be inserted instead. |
Remarks
This operation may involve shifting the elements following the
index to the right to make room for the
item. If index is equal to
Count, the value is added to the end of the list.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If
index is less than 0 or greater
than Count |