ActiveReports 10
CopyTo Method (ITableColumnCollection)

GrapeCity.ActiveReports.Extensibility.v10 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Components.Table Namespace > ITableColumnCollection Interface : CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Syntax
'Declaration
 
Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) 
void CopyTo( 
   Array array,
   int index
)

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. 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.
array is multidimensional.-or- The number of elements in the source System.Collections.ICollection is greater than the available space from index to the end of the destination array.-or-The type of the source System.Collections.ICollection cannot be cast automatically to the type of the destination array.
See Also

Reference

ITableColumnCollection Interface
ITableColumnCollection Members