CalendarActionResults constructor

CalendarActionResults(
  1. Iterable<Item> items
)
Initializes a new instance of the Collection of items that were created or modified as a result of a calendar action.

Implementation

CalendarActionResults(Iterable<Item> items) {
  this.appointment =
      EwsUtilities.FindFirstItemOfType<serviceObjects.Appointment>(items);
  this.meetingRequest =
      EwsUtilities.FindFirstItemOfType<serviceObjects.MeetingRequest>(items);
  this.meetingResponse =
      EwsUtilities.FindFirstItemOfType<serviceObjects.MeetingResponse>(items);
  this.meetingCancellation =
      EwsUtilities.FindFirstItemOfType<serviceObjects.MeetingCancellation>(
          items);
}