FindAppointments method

Future<FindItemsResults<Appointment>> FindAppointments(
  1. CalendarView view
)
Obtains a list of appointments by searching the contents of this folder and performing recurrence expansion for recurring appointments. Calling this method results in a call to EWS. The view controlling the range of appointments returned.

Implementation

Future<FindItemsResults<Appointment>> FindAppointments(
    CalendarView view) async {
  EwsUtilities.ValidateParam(view, "view");

  ServiceResponseCollection<FindItemResponse<Appointment>> responses =
      await this
          .InternalFindItems<Appointment>(null, view, null /* groupBy */);

  return responses[0].Results;
}