IAsyncEwsClient.ListItemsAsync

IAsyncEwsClient.ListItemsAsync method

Retrieve list of item URIes in specified folder

public Task<string[]> ListItemsAsync(string folder, string mailbox = null, MailQuery query = null, 
    bool recursive = false, CancellationToken cancellationToken = default)
ParameterTypeDescription
folderStringfolder to search items
mailboxStringThe mailbox that is used to initialize the folder id class.
queryMailQueryAdditional conditions to select items
recursiveBooleanSpecifies whether request should be reqursive.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

Returns list of item URIes

See Also