Returns the string form of this OrderByList.
Namespace: Endeca.Navigation.AnalyticsAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)
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 OrderByList.Implements
IQueryNode..::..ToString()()()()Remarks
The OrderByList format is:
where sortdir is either ASC or DESC.
CopyC#
ORDER BY <i>key-sort-name1</i><i>sortdir</i>, <i>key-sort-name2</i><i>sortdir</i> ...
Examples
The string:
is returned if the sorting key is a property named Total
and a descending sort direction has been set.
CopyC#
ORDER BY Total DESC