Click or drag to resize
Ranorex

RowCollectionCopyTo Method

Copies the rows 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
Syntax
public void CopyTo(
	Row[] array,
	int arrayIndex
)

Parameters

array
Type: Ranorex.Core.DataRow
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
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionarrayIndex is less than 0.
ArgumentExceptionarray 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