Click or drag to resize
MimeKit

OrderByAnnotation Constructor

Initializes a new instance of the OrderByAnnotation class.

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public OrderByAnnotation(
	AnnotationEntry entry,
	AnnotationAttribute attribute,
	SortOrder order
)

Parameters

entry  AnnotationEntry
The annotation entry to sort by.
attribute  AnnotationAttribute
The annotation attribute to use for sorting.
order  SortOrder
The sort order.
Exceptions
ExceptionCondition
ArgumentNullException

entry is null.

-or-

attributeis null.

ArgumentExceptionattribute is not a valid attribute for sorting.
Remarks
Creates a new OrderByAnnotation.
See Also