Recurrence - Monthly (examples)
- 2 minutes to read
An appointment occurs on the 23th day of each month. Ten occurrences are specified.
An appointment occurs on the last Wednesday of the month, every 2 months. The occurrence chain has no end date.
An appointment occurs on the first Monday of the month every 3 months. The duration is one year.
apt.RecurrenceInfo.Type = RecurrenceType.Monthly; apt.RecurrenceInfo.Periodicity = 3; apt.RecurrenceInfo.Start = apt.Start; apt.RecurrenceInfo.WeekOfMonth = WeekOfMonth.First; apt.RecurrenceInfo.WeekDays = WeekDays.Monday; apt.RecurrenceInfo.Range = RecurrenceRange.EndByDate; apt.RecurrenceInfo.End = apt.RecurrenceInfo.Start.AddYears(1);