Version

DayOfWeekRecurrenceRule Class

Rule that matches day of week or a relative day of week within month or year.
Syntax
'Declaration
 
Public Class DayOfWeekRecurrenceRule 
   Inherits DateRecurrenceRuleBase
public class DayOfWeekRecurrenceRule : DateRecurrenceRuleBase 
Remarks

DayOfWeekRecurrenceRule can be used to specify a day of week or a relative day of week within month or year. If the frequency is monthly or if a MonthOfYearRecurrenceRule is present then the RelativePosition indentifies the relative position within a month. Otherwise if the frequency of the recurrence is yearly then it identifies the relative position within the year. In case of monthly, valid values are -5 to -1 and 1 to 5. In case of yearly, valid values are -53 to -1 and 1 to 53.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also