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.v21.1.dll

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 SortingInfo.SortingDirection

A SortingDirection object that specifies the sort order.

See Also