C# Class MailKit.Search.OrderBy

Specifies a sort order for search results.
You can combine multiple OrderBy rules to specify the sort order that IMailFolder.Search(SearchQuery,System.Collections.Generic.IList<OrderBy>,System.Threading.CancellationToken) should return the results in.
Exibir arquivo Open project: jstedfast/MailKit Class Usage Examples

Public Properties

Property Type Description
Arrival OrderBy
Cc OrderBy
Date OrderBy
DisplayFrom OrderBy
DisplayTo OrderBy
From OrderBy
ReverseArrival OrderBy
ReverseCc OrderBy
ReverseDate OrderBy
ReverseDisplayFrom OrderBy
ReverseDisplayTo OrderBy
ReverseFrom OrderBy
ReverseSize OrderBy
ReverseSubject OrderBy
ReverseTo OrderBy
Size OrderBy
Subject OrderBy
To OrderBy

Public Methods

Method Description
OrderBy ( OrderByType type, SortOrder order ) : System

Initializes a new instance of the MailKit.Search.OrderBy class.

Method Details

OrderBy() public method

Initializes a new instance of the MailKit.Search.OrderBy class.
/// cannot be . ///
public OrderBy ( OrderByType type, SortOrder order ) : System
type OrderByType The field to sort by.
order SortOrder The sort order.
return System

Property Details

Arrival public_oe static_oe property

Sort results by arrival date in ascending order.
Sort results by arrival date in ascending order.
public static OrderBy,MailKit.Search Arrival
return OrderBy

Cc public_oe static_oe property

Sort results by the first email address in the Cc header in ascending order.
Sort results by the first email address in the Cc header in ascending order.
public static OrderBy,MailKit.Search Cc
return OrderBy

Date public_oe static_oe property

Sort results by the sent date in ascending order.
Sort results by the sent date in ascending order.
public static OrderBy,MailKit.Search Date
return OrderBy

DisplayFrom public_oe static_oe property

Sort results by the first display name in the From header in ascending order.
Sort results by the first display name in the From header in ascending order.
public static OrderBy,MailKit.Search DisplayFrom
return OrderBy

DisplayTo public_oe static_oe property

Sort results by the first display name in the To header in ascending order.
Sort results by the first display name in the To header in ascending order.
public static OrderBy,MailKit.Search DisplayTo
return OrderBy

From public_oe static_oe property

Sort results by the first email address in the From header in ascending order.
Sort results by the first email address in the From header in ascending order.
public static OrderBy,MailKit.Search From
return OrderBy

ReverseArrival public_oe static_oe property

Sort results by arrival date in desending order.
Sort results by arrival date in desending order.
public static OrderBy,MailKit.Search ReverseArrival
return OrderBy

ReverseCc public_oe static_oe property

Sort results by the first email address in the Cc header in descending order.
Sort results by the first email address in the Cc header in descending order.
public static OrderBy,MailKit.Search ReverseCc
return OrderBy

ReverseDate public_oe static_oe property

Sort results by the sent date in descending order.
Sort results by the sent date in descending order.
public static OrderBy,MailKit.Search ReverseDate
return OrderBy

ReverseDisplayFrom public_oe static_oe property

Sort results by the first display name in the From header in descending order.
Sort results by the first display name in the From header in descending order.
public static OrderBy,MailKit.Search ReverseDisplayFrom
return OrderBy

ReverseDisplayTo public_oe static_oe property

Sort results by the first display name in the To header in descending order.
Sort results by the first display name in the To header in descending order.
public static OrderBy,MailKit.Search ReverseDisplayTo
return OrderBy

ReverseFrom public_oe static_oe property

Sort results by the first email address in the From header in descending order.
Sort results by the first email address in the From header in descending order.
public static OrderBy,MailKit.Search ReverseFrom
return OrderBy

ReverseSize public_oe static_oe property

Sort results by the message size in descending order.
Sort results by the message size in descending order.
public static OrderBy,MailKit.Search ReverseSize
return OrderBy

ReverseSubject public_oe static_oe property

Sort results by the Subject header in descending order.
Sort results by the Subject header in descending order.
public static OrderBy,MailKit.Search ReverseSubject
return OrderBy

ReverseTo public_oe static_oe property

Sort results by the first email address in the To header in descending order.
Sort results by the first email address in the To header in descending order.
public static OrderBy,MailKit.Search ReverseTo
return OrderBy

Size public_oe static_oe property

Sort results by the message size in ascending order.
Sort results by the message size in ascending order.
public static OrderBy,MailKit.Search Size
return OrderBy

Subject public_oe static_oe property

Sort results by the Subject header in ascending order.
Sort results by the Subject header in ascending order.
public static OrderBy,MailKit.Search Subject
return OrderBy

To public_oe static_oe property

Sort results by the first email address in the To header in ascending order.
Sort results by the first email address in the To header in ascending order.
public static OrderBy,MailKit.Search To
return OrderBy