Spread Windows Forms 12.0 Product Documentation
CopyTo Method (HolidayCollection)


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.
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

Reference

HolidayCollection Class
HolidayCollection Members