Click or drag to resize
MimeKit

SearchQueryUids Method

Limit the search query to messages with the specified unique identifiers.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public static UidSearchQuery Uids(
	IList<UniqueId> uids
)

Parameters

uids  IListUniqueId
The unique identifiers.

Return Value

UidSearchQuery
A UidSearchQuery.
Exceptions
ExceptionCondition
ArgumentNullExceptionuids is null.
ArgumentExceptionuids is empty.
Remarks

Limits the search query to messages with the specified unique identifiers.

Note  Note
This is equivalent to the UID search key as defined in rfc3501.
See Also