Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal name As String, _ ByVal month As Integer, _ ByVal day As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim name As String Dim month As Integer Dim day As Integer Dim instance As New Holiday(name, month, day) |
Parameters
- name
- A name that represents the holiday.
- month
- An integer value that represents the holiday month.
- day
- An integer value that represents the holiday day.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8