Version

DayOfWeekMask Property

Gets/sets the day(s) of the week on which each occurrence occurs.
Syntax
'Declaration
 
Public Property DayOfWeekMask As RecurrenceDayOfWeekMask
public RecurrenceDayOfWeekMask DayOfWeekMask {get; set;}
Remarks

Note: The value of the DayOfWeekMask property is expressed as bitflags, so that multiple days can be represented by the property.

When the Period property is set to 'Daily', the DayOfWeekMask property can only be set to 'All' or 'AllWeekdays'; setting the property to any other value will result in an exception being thrown.

When the Period property is set to 'Weekly', the DayOfWeekMask property cannot be set to 'None'; doing so will result in an exception being thrown.

When the Period property is set to 'Monthly' or 'Yearly', the DayOfWeekMask property is not applicable.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, 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