Skip to main content
A newer version of this page is available. .

SortingInfo.Direction Property

Gets or sets the sort order.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

[DefaultValue(SortingInfo.SortingDirection.Ascending)]
public SortingInfo.SortingDirection Direction { get; set; }

Property Value

Type Default Description
SortingInfo.SortingDirection **Ascending**

A SortingDirection object that specifies the sort order.

Available values:

Name
Ascending
Descending

Remarks

Use the SortingInfo.Column property to specify the name of the column by whose values the result set is sorted. The SortingInfo.Table property specifies the name of the table containing the required column.

See Also