ActiveReports 12
CopyTo Method (DataPointCollection)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > DataPointCollection Class : CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from Collection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As DataPoint, _
   ByVal index As Integer _
) 
public void CopyTo( 
   DataPoint[] array,
   int index
)

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.
Exceptions
ExceptionDescription
array is null.
index is less than zero.
The number of elements in the source Collection is greater than the available space from index to the end of the destination array.
See Also

Reference

DataPointCollection Class
DataPointCollection Members