Steven Zack
Steven Zack

Reputation: 5104

In EWS how to know how many items in a folder?

For example, how do I know how many email items in inbox folder? FindItemsResults findResults = service.FindItems( WellKnownFolderName.Inbox, new ItemView(10,0)); The above code only lists first 10 items, how to know how many items in inbox folder, so that I can calculate how many pages with 10 items in one page.

Upvotes: 0

Views: 129

Answers (1)

Tomas Voracek
Tomas Voracek

Reputation: 5914

Maybe Folder.TotalCount Property?

Upvotes: 1

Related Questions