Spread Windows Forms 7.0 Product Documentation
Insert Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > HolidayCollection Class : Insert Method


index
The zero-based index at which holiday is inserted.
holiday
The System.Object to insert - with the IHoliday interface implemented.

Glossary Item Box

Inserts a holiday object in the collection.

Syntax

Visual Basic (Declaration) 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal holiday As IHoliday _
) 
Visual Basic (Usage)Copy Code
Dim instance As HolidayCollection
Dim index As Integer
Dim holiday As IHoliday
 
instance.Insert(index, holiday)
C# 
public void Insert( 
   int index,
   IHoliday holiday
)

Parameters

index
The zero-based index at which holiday is inserted.
holiday
The System.Object to insert - with the IHoliday interface implemented.

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.