OrderByAnnotation Constructor

Initializes a new instance of the OrderByAnnotation class.

Definition

Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
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.

Remarks

Creates a new OrderByAnnotation.

Exceptions

ArgumentNullException

entry is .

-or-

attributeis .

ArgumentException attribute is not a valid attribute for sorting.

See Also