Inserts an Holiday object into the Holiday collection at a specified index.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Sub Insert( _
ByVal index As System.Integer, _
ByVal holiday As Holiday _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As HolidayCollection
Dim index As System.Integer
Dim holiday As Holiday
instance.Insert(index, holiday) |
Parameters
- index
- The position in the collection for the new Holiday.
- holiday
- The Holiday object to be inserted into the collection.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also