FindFoldersWithFolderIdAndView method
Future<FindFoldersResults>
FindFoldersWithFolderIdAndView(
- FolderId parentFolderId,
- FolderView view
Implementation
Future<FindFoldersResults> FindFoldersWithFolderIdAndView(
FolderId parentFolderId,
FolderView view,
) async {
EwsUtilities.ValidateParam(parentFolderId, "parentFolderId");
EwsUtilities.ValidateParam(view, "view");
ServiceResponseCollection<FindFolderResponse> responses =
await InternalFindFolders(
[parentFolderId],
null,
/* searchFilter */
view,
ServiceErrorHandling.ThrowOnError,
);
return responses[0].Results;
}