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:
For a descending sort, the format is:
where key-sort-name is the Endeca property
or dimension by which the records will be sorted.
CopyC#
<i>key-sort-name</i> ASC
CopyC#
<i>key-sort-name</i> DESC
Examples
This string:
is returned if the sorting key is a property named YearSales
and an ascending sort direction has been set.
CopyC#
YearSales ASC