| ImapSearchAsync Method |
Creates new search query.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public FluentSearch SearchAsync()
Public Function SearchAsync As FluentSearch
public:
FluentSearch^ SearchAsync()
member SearchAsync : unit -> FluentSearch
Return Value
Type:
FluentSearchNew search query.
Examples
List<long> uids = await imap.SearchAsync().Where(Expression.Subject("report")).Sort(SortBy.Date());
Examples
List<long> numbers = await imap.SearchAsync().Where(Expression.Header("Message-ID", "id")).ResultAs(
Numbers);
See Also