ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Selection Class / CopyTo Method
The array to which to copy the collection.
The array index from which to start.

In This Topic
    CopyTo Method (Selection)
    In This Topic

    Copies the selected items to an Array, starting at a particular Array index.

    Syntax
    'Declaration
     
    Public Sub CopyTo( _
       ByVal array As Array, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       Array array,
       int index
    )

    Parameters

    array
    The array to which to copy the collection.
    index
    The array index from which to start.
    Remarks
    This method is used to copy the currently selected components within the designer environment to a specified array, starting at a particular index. It is useful for operations that require processing or manipulation of the selected components outside the context of the selection service. The method ensures that the elements are copied in a manner that respects the order in which they are currently selected.
    See Also