SearchQueryUids Method

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

Definition

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

Parameters

uids  IListUniqueId
The unique identifiers.

Return Value

UidSearchQuery
A UidSearchQuery.

Remarks

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

  Note

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

Exceptions

ArgumentNullException uids is .
ArgumentException uids is empty.

See Also