Search QueryAnnotations Contain Method
Match messages with the specified annotation.
Definition
Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
A AnnotationSearchQuery.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
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
AnnotationSearchQueryA AnnotationSearchQuery.
Remarks
Matches messages with the specified annotation.
Exceptions
| ArgumentNullException |
entry is . -or- attribute is . |
| ArgumentException | attribute is not a valid attribute for searching. |