开发者

how to get next 50 items from a WellKnownFolderName in Exchange?

I'm developing an email 开发者_如何学Cclient using EWS, in order to paging emails, I need to add paging function, but how to get the next xx items from a WellKnownFolderName folder say inbox? I use FindItemsResults findResults = service.FindItems(WellKnownFolderName.Inbox, new ItemView(50)); get first 50 items. how to get the next 50 items? An example code will be highly appreciated!


You are nearly there:

var items = service.FindItems(WellKnownFolderName.Inbox, new ItemView(50, 50));

The first parameter is the pagesize, the second parameter is the offset.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜