Click or drag to resize
MimeKit

SearchQueryAnnotationsContain Method

Match messages with the specified annotation.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static AnnotationSearchQuery AnnotationsContain(
	AnnotationEntry entry,
	AnnotationAttribute attribute,
	string value
)

Parameters

entry  AnnotationEntry
The annotation entry.
attribute  AnnotationAttribute
The annotation attribute.
value  String
The annotation attribute value.

Return Value

AnnotationSearchQuery
A AnnotationSearchQuery.
Exceptions
ExceptionCondition
ArgumentNullException

entry is null.

-or-

attribute is null.

ArgumentExceptionattribute is not a valid attribute for searching.
Remarks

Matches messages with the specified annotation.

Caution note  Caution
This feature is not supported by all IMAP servers.
See Also