InternalLoadPropertiesForItems method

Future<ServiceResponseCollection<ServiceResponse>> InternalLoadPropertiesForItems(
  1. Iterable<Item> items,
  2. PropertySet propertySet,
  3. ServiceErrorHandling errorHandling
)
Loads the properties of multiple items in a single call to EWS. The items to load the properties of. The set of properties to load. Indicates the type of error handling should be done.

Implementation

Future<ServiceResponseCollection<ServiceResponse>>
    InternalLoadPropertiesForItems(Iterable<Item> items,
        PropertySet propertySet, ServiceErrorHandling errorHandling) {
  GetItemRequestForLoad request =
      new GetItemRequestForLoad(this, errorHandling);

  request.ItemIds.AddRange(items);
  request.PropertySet = propertySet;

  return request.Execute();
}