RecurrencePattern.DayOfWeekMask Property
Returns or sets an OlDaysOfWeek constant representing the mask for the days of the week on which the recurring appointment or task occurs. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Property DayOfWeekMask As OlDaysOfWeek
Get
Set
'Usage
Dim instance As RecurrencePattern
Dim value As OlDaysOfWeek
value = instance.DayOfWeekMask
instance.DayOfWeekMask = value
OlDaysOfWeek DayOfWeekMask { get; set; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlDaysOfWeek
Remarks
The DayOfWeekMask should be set after the RecurrenceType property has been set and before the PatternEndDate and PatternStartDate properties are set.
Monthly and yearly patterns are only valid for a single day. Weekly patterns are only valid as the Or of the DayOfWeekMask.