TXTextControl.DocumentServer.DataShaping.SortingInstruction Constructor

Initializes a new instance of the SortingInstruction class.

SortingInstruction(String, SortOrder)

Sets the column name to order the data by and sets the sort order (ascending / descending).

[C#]
public SortingInstruction(string orderBy, DocumentServer.DataShaping.SortOrder sortOrder);
[Visual Basic]
Public Sub New(orderBy As String, sortOrder As DocumentServer.DataShaping.SortOrder)
Parameter Description
orderBy

The name of the column to order the block data by.

sortOrder

The sort order.


Value Meaning
Ascending Data rows are sorted in an ascending order.
Descending Data rows are sorted in a descending order.

SortingInstruction(String)

Sets the column name to order the data by and sets the sort order to SortOrder.Ascending.

[C#]
public SortingInstruction(string orderBy);
[Visual Basic]
Public Sub New(orderBy As String)
Parameter Description
orderBy

The name of the column to order the block data by.

See Also