'Declaration
Public Function New( _
ByVal As DayOfWeekStyle, _
ByVal As DayOfWeekStyle, _
ByVal As DayOfWeekStyle, _
ByVal As DayOfWeekStyle, _
ByVal As DayOfWeekStyle, _
ByVal As DayOfWeekStyle, _
ByVal As DayOfWeekStyle _
)
'使用法
Dim sunday As DayOfWeekStyle
Dim monday As DayOfWeekStyle
Dim tuesday As DayOfWeekStyle
Dim wednesday As DayOfWeekStyle
Dim thursday As DayOfWeekStyle
Dim friday As DayOfWeekStyle
Dim saturday As DayOfWeekStyle
Dim instance As New WeekdaysStyle(sunday, monday, tuesday, wednesday, thursday, friday, saturday)