BindToItem method
Implementation
Future<Item?> BindToItem(ItemId? itemId, PropertySet propertySet) async {
EwsUtilities.ValidateParam(itemId, "itemId");
EwsUtilities.ValidateParam(propertySet, "propertySet");
ServiceResponseCollection<GetItemResponse> responses =
await InternalBindToItems(
[itemId],
propertySet,
null,
/* anchorMailbox */
ServiceErrorHandling.ThrowOnError,
);
return responses[0].Item;
}