Skip to main content

SortingInfoList.Add(String, String, SortingInfo.SortingDirection) Method

Adds a new SortingInfo object to the SortingInfoList collection based on the table/column names and sorting direction.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public void Add(
    string table,
    string column,
    SortingInfo.SortingDirection direction
)

Parameters

Name Type Description
table String

A String value that specifies the table name.

column String

A String value that specifies the name of the column by whose values the result set is sorted.

direction DevExpress.DataAccess.Sql.SortingInfo.SortingDirection

A SortingDirection object that specifies the sort order.

See Also