LoadPropertiesForItems method

Future<ServiceResponseCollection<ServiceResponse>> LoadPropertiesForItems(
  1. Iterable<Item> items,
  2. PropertySet propertySet
)
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.

Implementation

Future<ServiceResponseCollection<ServiceResponse>> LoadPropertiesForItems(
  Iterable<Item> items,
  PropertySet propertySet,
) {
  EwsUtilities.ValidateParamCollection(items, "items");
  EwsUtilities.ValidateParam(propertySet, "propertySet");

  return InternalLoadPropertiesForItems(
    items,
    propertySet,
    ServiceErrorHandling.ReturnErrors,
  );
}