Method CopyTo
CopyTo(T[], int)
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
선언
public void CopyTo(T[] array, int arrayIndex)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| T[] | array | The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing. |
| int | arrayIndex | The zero-based index in |
구현
예외
| 타입 | 조건 |
|---|---|
| ArgumentNullException |
|
| ArgumentOutOfRangeException |
|
| ArgumentException | The number of elements in the source ICollection<T> is greater than the available space from |