Returns the string form of this OrderBy.

Namespace: Endeca.Navigation.Analytics
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)

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#
<i>key-sort-name</i> ASC
For a descending sort, the format is:
CopyC#
<i>key-sort-name</i> DESC
where key-sort-name is the Endeca property or dimension by which the records will be sorted.

Examples

This string:
CopyC#
YearSales ASC
is returned if the sorting key is a property named YearSales and an ascending sort direction has been set.

See Also