Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / HolidayCollection Class / CopyTo Method
An array of type IHoliday serving as the destination for the copy action.
The zero-based index at which to start placing the copied collection.


In This Topic
    CopyTo Method (HolidayCollection)
    In This Topic
    Copies the entire HolidayCollection to a compatible one-dimensional array of type IHoliday, starting at the specified zero-based index of the target array.
    Syntax
    'Declaration
     
    
    Public Sub CopyTo( _
       ByVal holidays() As IHoliday, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As HolidayCollection
    Dim holidays() As IHoliday
    Dim index As Integer
     
    instance.CopyTo(holidays, index)
    public void CopyTo( 
       IHoliday[] holidays,
       int index
    )

    Parameters

    holidays
    An array of type IHoliday serving as the destination for the copy action.
    index
    The zero-based index at which to start placing the copied collection.
    See Also