[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ExcelSparklineGroup.CopyTo

CopyTo Method

CopyTo(ISparkline[], int)

Copies the elements of the ICollection<T> to a Array, starting at a particular Array index.

Declaration
public void CopyTo(ISparkline[] array, int arrayIndex)
Public Sub CopyTo(array As ISparkline(), arrayIndex As Integer)
Parameters
Type Name Description
ISparkline[] array

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

int arrayIndex

The zero-based index in array at which copying begins.

Implements
Exceptions
Type Condition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

array is multidimensional or arrayIndex is equal to or greater than the length of array or the number of elements in the source ICollection<T> 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.