Recurrence property

Recurrence? get Recurrence
Gets or sets the recurrence pattern for this appointment. Available recurrence pattern classes include Recurrence.DailyPattern, Recurrence.MonthlyPattern and Recurrence.YearlyPattern.

Implementation

complex.Recurrence? get Recurrence =>
    this.PropertyBag[AppointmentSchema.Recurrence] as complex.Recurrence?;
set Recurrence (Recurrence? value)

Implementation

set Recurrence(complex.Recurrence? value) {
  if (value != null) {
    if (value.IsRegenerationPattern) {
      throw new ServiceLocalException(
          "Strings.RegenerationPatternsOnlyValidForTasks");
    }
  }

  this.PropertyBag[AppointmentSchema.Recurrence] = value;
}