| IMailFolderSort(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken) Method |
Sort messages matching the specified query.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax IList<UniqueId> Sort(
IList<UniqueId> uids,
SearchQuery query,
IList<OrderBy> orderBy,
CancellationToken cancellationToken = default
)
Parameters
- uids IListUniqueId
- The subset of UIDs
- query SearchQuery
- The search query.
- orderBy IListOrderBy
- The sort order.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
IListUniqueIdAn array of matching UIDs in the specified sort order.
Remarks See Also