ActiveReports 13
CopyTo Method (ToolsCollection)

GrapeCity.ActiveReports.Web Assembly > GrapeCity.ActiveReports.Web.Controls Namespace > ToolsCollection 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 ToolBase, _
   ByVal index As Integer _
) 
public void CopyTo( 
   ToolBase[] 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

ToolsCollection Class
ToolsCollection Members