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

Declaration

public void Add(
    string table,
    string column,
    SortingInfo.SortingDirection direction
)
Public Sub Add(
    table As String,
    column As String,
    direction As SortingInfo.SortingDirection
)

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