[]
        
(Showing Draft Content)

C1.C1Schedule.RecurrencePattern.DayOfWeekMask

DayOfWeekMask Property

DayOfWeekMask

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.

Declaration
public WeekDaysEnum DayOfWeekMask { get; set; }
Remarks

When the RecurrenceType property is set to Daily, the DayOfWeekMask property can only be set to EveryDay; setting the property to any other value will result in an exception. When the RecurrenceType property is set to Workdays, the DayOfWeekMask property can only be set to WorkDays; setting the property to any other value will result in an exception. When the RecurrenceType property is set to Weekly, the DayOfWeekMask property cannot be set to None; doing so will result in an exception being thrown. When the RecurrenceType property is set to Monthly or Yearly the DayOfWeekMask property is not applicable.