# EmailStoreSort

One typed ordering clause in a Store table query.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStoreSort.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreSort.cs#L22)

**Modifiers**

sealed

One typed ordering clause in a Store table query.

## Inheritance

- object
- EmailStoreSort

## Usage

Explore 10 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 8

- Method [EmailStoreField.Ascending](/api/email/officeimo-email-store-emailstorefield/#method-ascending-officeimo-email-store-emailstorenullorder)
- Method [EmailStoreField.Descending](/api/email/officeimo-email-store-emailstorefield/#method-descending-officeimo-email-store-emailstorenullorder)
- Method [EmailStoreField<T>.Ascending](/api/email/officeimo-email-store-emailstorefield-1/#method-ascending-emailstorenullorder)
- Method [EmailStoreField<T>.Descending](/api/email/officeimo-email-store-emailstorefield-1/#method-descending-emailstorenullorder)
- Property [EmailStoreQueryPlan.EffectiveSorts](/api/email/officeimo-email-store-emailstorequeryplan/#property-effectivesorts)
- Method [EmailStoreStringField.Ascending](/api/email/officeimo-email-store-emailstorestringfield/#method-ascending-emailstorenullorder)
- Method [EmailStoreStringField.Descending](/api/email/officeimo-email-store-emailstorestringfield/#method-descending-emailstorenullorder)
- Property [EmailStoreTableQuery.Sorts](/api/email/officeimo-email-store-emailstoretablequery/#property-sorts)

### Accepted by parameters 2

- Constructor [EmailStoreTableQuery.EmailStoreTableQuery](/api/email/officeimo-email-store-emailstoretablequery/#constructor-ctor-nullable-officeimo-email-store-emailstorefolderid-boolean-boolean-boolean-officeimo-email-store-emailstorefilter-collections-generic-ienumerable-officeimo-email-store-emailstoresort-officeimo-email-store-emailstoreprojection-officeimo-email-store-emailstorecontinuationtoken-int32-int32) parameter `sorts`
- Method [EmailStoreTableQuery.OrderBy](/api/email/officeimo-email-store-emailstoretablequery/#method-orderby-officeimo-email-store-emailstoresort) parameter `sorts`

Filter members 

Show inherited

## Constructors

`public EmailStoreSort(EmailStoreField field, EmailStoreSortDirection direction = Ascending, EmailStoreNullOrder nullOrder = Last)` [#](#constructor-ctor-officeimo-email-store-emailstorefield-officeimo-email-store-emailstoresortdirection-officeimo-email-store-emailstorenullorder)

[EmailStoreSort.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreSort.cs#L22)

Creates an ordering clause.

Parameters

**field OfficeIMO.Email.Store.EmailStoreField required**

**direction OfficeIMO.Email.Store.EmailStoreSortDirection = Ascending optional**

**nullOrder OfficeIMO.Email.Store.EmailStoreNullOrder = Last optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public EmailStoreField Field { get; }` [#](#property-field)

[EmailStoreSort.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreSort.cs#L30)

Field being ordered.

`public EmailStoreSortDirection Direction { get; }` [#](#property-direction)

[EmailStoreSort.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreSort.cs#L33)

Sort direction.

`public EmailStoreNullOrder NullOrder { get; }` [#](#property-nullorder)

[EmailStoreSort.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Reading/EmailStoreSort.cs#L36)

Explicit null placement.

<!-- PowerForge markdown artifact sha256:B56A98DD58F1A2A1837FB4976821DAC615B0A25D8F746AD6091A26CB66B8F55F -->
