Spread Windows Forms 10.0 Product Documentation
CopyTo Method (HolidayCollection)


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

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

HolidayCollection Class
HolidayCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.