public void CopyTo(
int index,
T[] array,
int arrayIndex,
int count
)Public Sub CopyTo (
index As Integer,
array As T(),
arrayIndex As Integer,
count As Integer
)public:
void CopyTo(
int index,
array<T>^ array,
int arrayIndex,
int count
)member CopyTo :
index : int *
array : 'T[] *
arrayIndex : int *
count : int -> unit | ArgumentNullException | array is . |
| ArgumentOutOfRangeException | arrayIndex is less than 0.
-or- arrayIndex is less than 0. -or- count is less than 0. |
| ArgumentException | arrayIndex is equal to or greater than the length of array.
-or- The number of elements in the source list is greater than the available space from arrayIndex to the end of the destination array. |