Returns the string form of this OrderBy.
Namespace: Endeca.Navigation.AnalyticsAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)
Syntax
| C# |
|---|
public override string ToString() |
| Visual Basic |
|---|
Public Overrides Function ToString As String |
| Visual C++ |
|---|
public: virtual String^ ToString() override |
Return Value
The string form of this OrderBy.Implements
IQueryNode..::..ToString()()()()
Remarks
For an ascending sort, the OrderBy format is:
CopyC#
For a descending sort, the format is:
CopyC#
where key-sort-name is the Endeca property
or dimension by which the records will be sorted.
<i>key-sort-name</i> ASC
<i>key-sort-name</i> DESC
Examples
This string:
CopyC#
is returned if the sorting key is a property named YearSales
and an ascending sort direction has been set.
YearSales ASC