OrderBy Property
- Namespace
TXTextControl.DocumentServer. DataShaping
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the table column name to order the data by.
Syntax
public string OrderBy { get; set; }Public Property OrderBy As StringExamples
The following example uses SortingInstruction.OrderBy to configure order by as part of the sorting instruction workflow. The configured value is checked before the workflow continues.
sortingInstruction.OrderBy = "Quarterly report";
if (!string.IsNullOrWhiteSpace(sortingInstruction.OrderBy))
{
Console.WriteLine($"Order By: {sortingInstruction.OrderBy}");
}sortingInstruction.OrderBy = "Quarterly report"
If Not String.IsNullOrWhiteSpace(sortingInstruction.OrderBy) Then
Console.WriteLine($"Order By: {sortingInstruction.OrderBy}")
End If