O
othmane benchebab
I have create an reccuring appointment but when i have a problem with :
myPattern.RecurrenceType = Microsoft.Office.Interop.Outlook.OlRecurrenceType.olRecursWe ekly;
myPattern.DayOfWeekMask = Microsoft.Office.Interop.Outlook.OlDaysOfWeek.olMonday;
that's work , but i can't put more than one day.
i have find that everyday have a value :
olSunday = 1,
olMonday = 2,
olTuesday = 4,
olWednesday = 8,
olThursday = 16,
olFriday = 32,
olSaturday = 64
when ,for exemple, i put sunday and monday my DayOfWeekMask value is 3.
but i can't do : myPattern.DayOfWeekMask=3;
have u any explication please??
myPattern.RecurrenceType = Microsoft.Office.Interop.Outlook.OlRecurrenceType.olRecursWe ekly;
myPattern.DayOfWeekMask = Microsoft.Office.Interop.Outlook.OlDaysOfWeek.olMonday;
that's work , but i can't put more than one day.
i have find that everyday have a value :
olSunday = 1,
olMonday = 2,
olTuesday = 4,
olWednesday = 8,
olThursday = 16,
olFriday = 32,
olSaturday = 64
when ,for exemple, i put sunday and monday my DayOfWeekMask value is 3.
but i can't do : myPattern.DayOfWeekMask=3;
have u any explication please??