Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal startDate As Date, _ ByVal endDate As Date _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim startDate As Date Dim endDate As Date Dim instance As New ForceHoliday(startDate, endDate) |
Parameters
- startDate
- A System.DateTime value that represents the starting forced holiday date.
- endDate
- A System.DateTime value that represents the ending forced holiday date.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8