Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal name As String, _ ByVal holidays As HolidayCollection, _ ByVal subStyle As SubStyle _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim name As String Dim holidays As HolidayCollection Dim subStyle As SubStyle Dim instance As New HolidayStyle(name, holidays, subStyle) |
Parameters
- name
- The System.String value that indicates the name of the HolidayStyle.
- holidays
- The System.String value that indicates the holidays of the HolidayStyle.
- subStyle
- The System.String value that indicates the subStyle of the HolidayStyle.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8