Method CopyTo
CopyTo(FieldValue[], Int32)
Copies the entire list represented by this instance to an array of
FieldValue, starting at the specified index of the
target array.
Declaration
public void CopyTo(FieldValue[] array, int arrayIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| FieldValue[] | array | The target array. |
| Int32 | arrayIndex | The zero-based index in
array where to start copying. |
Remarks
Only references to FieldValue instances within the
list are copied (the values are not cloned).
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If
arrayIndex is less than 0. |
| ArgumentNullException | If
array is null. |
| ArgumentException | There is not enough space in
array starting at arrayIndex
to copy all the elements. |