Recurrence Pattern
The Scheduler supports repeating appointments through the RecurrenceRule
property of the Appointment
class. In order to create a recurrence rule, you have to define a recurrence pattern, such as frequency, days of week, max occurrences, and other.
The RecurrenceRule
property has a mandatory Pattern
property of type RecurrencePattern
which describes how the appointment occurrences will be created through various recurrence settings.
Check below a list of the properties exposed by the RecurrencePattern
class:
-
Frequency
—Defines the frequency. Its values are predefined in theRecurrenceFrequency
enumeration, which exposes the following values: None, Secondly, Minutely, Hourly, Daily, Weekly, Monthly, Yearly. -
DaysOfMonth
—Defines the days of a month. -
DayOrdinal
—Defines the day ordinal. -
DaysOfWeekMask
—Defines the days of week mask. -
HoursOfDay
—Defines the hours of a day. -
MinutesOfHour
—Defines the minutes of an hour. -
FirstDayOfWeek
— Defines the day on which the week starts. -
Interval
—Defines the interval. -
MaxOccurences
—Defines the limit for the number of occurrences. -
MonthOfYear
—Defines the month in the year. -
RecursUntil
— Defines the end date of the appointment occurrences.