FindItemsWithFolderIdAndView method
Obtains a list of items by searching the contents of a specific folder. Calling this method results in a call to EWS.
The Id of the folder in which to search for items.
The view controlling the number of items returned.
Implementation
Future<FindItemsResults<Item>> FindItemsWithFolderIdAndView(
FolderId parentFolderId, ViewBase view) async {
ServiceResponseCollection<FindItemResponse<Item>> responses =
await this.FindItemsGeneric<Item>(
[parentFolderId],
null,
null,
view,
null,
/* groupBy */
ServiceErrorHandling.ThrowOnError);
return responses[0].Results;
}