Order By Constructor
Initializes a new instance of the OrderBy class.
Definition
Namespace: MailKit.Search
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public OrderBy(
OrderByType type,
SortOrder order
)Parameters
- type OrderByType
- The field to sort by.
- order SortOrder
- The sort order.
Remarks
Creates a new OrderBy instance.
Exceptions
| ArgumentOutOfRangeException | order cannot be None. |