Map for WinForms | ComponentOne
C1.Win.Map Namespace / MapLegendItemsCollection 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 (MapLegendItemsCollection)
    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 MapLegendItem, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       MapLegendItem[] 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