 | ColumnCollectionCopyTo Method |
Copies the elements of the collection to an Array,
starting at a particular Array index.
Namespace:
Ranorex.Core.Data
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void CopyTo(
Column[] array,
int arrayIndex
)
Public Sub CopyTo (
array As Column(),
arrayIndex As Integer
)
Parameters
- array
- Type: Ranorex.Core.DataColumn
The one-dimensional Array that is the destination of
the elements copied from the collection. The Array must have zero-based indexing. - arrayIndex
- Type: SystemInt32
The zero-based index in array at which copying begins.
Implements
ICollectionTCopyTo(T, Int32)
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | array is null.
|
| ArgumentOutOfRangeException | arrayIndex is less than 0.
|
| ArgumentException | array is multidimensional.
-or-
arrayIndex is equal to or greater than the length of array.
-or-
The number of elements in the source collection is greater than the available space from
arrayIndex to the end of the destination array.
|
See Also