BindToOccurrenceWithPropertySet static method

Future<Appointment> BindToOccurrenceWithPropertySet(
  1. ExchangeService service,
  2. ItemId recurringMasterId,
  3. int occurenceIndex,
  4. PropertySet propertySet,
)
Binds to an occurence of an existing appointment and loads the specified set of properties. Calling this method results in a call to EWS. The service to use to bind to the appointment. The Id of the recurring master that the index represents an occurrence of. The index of the occurrence. The set of properties to load.

Implementation

static Future<Appointment> BindToOccurrenceWithPropertySet(
  ExchangeService service,
  ItemId recurringMasterId,
  int occurenceIndex,
  PropertySet propertySet,
) {
  AppointmentOccurrenceId occurenceId = AppointmentOccurrenceId(
    recurringMasterId.UniqueId!,
    occurenceIndex,
  );
  return Appointment.BindWithItemIdAndPropertySet(
    service,
    occurenceId,
    propertySet,
  );
}