Scheduler for WinRT
DayOfWeekMask Property


Gets or sets the WeekDaysEnum value representing the mask for week days on which the recurring appointment occurs. Monthly and yearly patterns are only valid for a single day. Weekly patterns are only valid as the Or of the DayOfWeekMask. The default value is 0.
Syntax
'Declaration
 
Public Property DayOfWeekMask As WeekDaysEnum
'Usage
 
Dim instance As RecurrencePattern
Dim value As WeekDaysEnum
 
instance.DayOfWeekMask = value
 
value = instance.DayOfWeekMask
public WeekDaysEnum DayOfWeekMask {get; set;}
Remarks
When the RecurrenceType property is set to RecurrenceTypeEnum.Daily, the DayOfWeekMask property can only be set to WeekDaysEnum.EveryDay; setting the property to any other value will result in an exception. When the RecurrenceType property is set to RecurrenceTypeEnum.Workdays, the DayOfWeekMask property can only be set to WeekDaysEnum.WorkDays; setting the property to any other value will result in an exception. When the RecurrenceType property is set to RecurrenceTypeEnum.Weekly, the DayOfWeekMask property cannot be set to WeekDaysEnum.None; doing so will result in an exception being thrown. When the RecurrenceType property is set to RecurrenceTypeEnum.Monthly or RecurrenceTypeEnum.Yearly the DayOfWeekMask property is not applicable.
Requirements

Target Platforms: 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

Reference

RecurrencePattern Class
RecurrencePattern Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.