SortingInfo.Direction Property

Gets or sets the sort order.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

[DefaultValue(SortingInfo.SortingDirection.Ascending)]
public SortingInfo.SortingDirection Direction { get; set; }
<DefaultValue(SortingInfo.SortingDirection.Ascending)>
Public Property Direction As SortingInfo.SortingDirection

Property Value

Type Default Description
SortingInfo.SortingDirection

Ascending

A SortingDirection object that specifies the sort order.

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