'Declaration
Public Overrides Function GetWeekOfYear( _ ByVal time As Date, _ ByVal rule As CalendarWeekRule, _ ByVal firstDayOfWeek As DayOfWeek _ ) As Integer
public override int GetWeekOfYear( DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek )
Parameters
- time
- A date and time value.
- rule
- An enumeration value that defines a calendar week.
- firstDayOfWeek
- An enumeration value that represents the first day of the week.
Return Value
A positive integer that represents the week of the year that includes the date in the time parameter.