Parameters
- array
- The one-dimensional System.Array that is the destination of the elements copied from Collection. The System.Array must have zero-based indexing.
- index
- The zero-based index in array at which copying begins.
Exception | Description |
---|---|
System.ArgumentNullException | array is null. |
System.ArgumentOutOfRangeException | index is less than zero. |
System.ArgumentException | The number of elements in the source Collection is greater than the available space from index to the end of the destination array. |