Spread for ASP.NET 12 Product Documentation
CopyTo Method (ExcelSparklineGroup)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ExcelSparklineGroup Class : CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from ICollection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the elements of the ICollection to a System.Array, starting at a particular System.Array index.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As ISparkline, _
   ByVal arrayIndex As Integer _
) 
'Usage
 
Dim instance As ExcelSparklineGroup
Dim array() As ISparkline
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
public void CopyTo( 
   ISparkline[] array,
   int arrayIndex
)

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from ICollection. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
array is null.
arrayIndex is less than 0.
array is multidimensional or arrayIndex is equal to or greater than the length of array or the number of elements in the source ICollection is greater than the available space from arrayIndex to the end of the destination array or the type ISparkline cannot be cast automatically to the type of the destination array.
See Also

Reference

ExcelSparklineGroup Class
ExcelSparklineGroup Members