FlexReport for .NET | ComponentOne
C1.WPF.Report Assembly / C1.WPF.Report Namespace / DataSourceCollection Class / CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from collection. (The array must have zero-based indexing).
The zero-based index in array at which copying begins.

In This Topic
    CopyTo Method (DataSourceCollection)
    In This Topic
    Copies the elements of the collection to an System.Array, starting at a particular array index.
    Syntax
    'Declaration
     
    Public Sub CopyTo( _
       ByVal array() As DataSource, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       DataSource[] array,
       int index
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from collection. (The array must have zero-based indexing).
    index
    The zero-based index in array at which copying begins.
    See Also