Copies the entire ERecSearchList to a compatible one-dimensional
Array, starting at the specified index of the target array.
Declaration Syntax
Parameters
- array (Array)
- The one-dimensional Array that is the destination of the elements copied from ERecSearchList. The Array must have zero-based indexing.
- arrayIndex (Int32)
- The zero-based index in array at which copying begins.
Remarks
The specified array must be of a compatible type.
This method uses Copy(Array, Array, Int32) to copy the elements.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | array is a null reference.
|
ArgumentOutOfRangeException | arrayIndex is less than zero.
|
ArgumentException | array is multidimensional.
-or- arrayIndex is equal to or greater than the length of array. -or- The number of elements in the source ERecSearchList is greater than the available space from arrayIndex to the end of the destination array. |
InvalidCastException |
The type of the source ERecSearchList be cast automatically
to the type of the destination array.
|