Sets the sort order to be applied to this query. If no sort order is specified, a default order of ascending display name will be applied.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public QuerySettings<TConfigurationObject, TPropertyEnum> SetSortOrder(
	TPropertyEnum sortProperty,
	ListSortDirection sortDirection
)
Visual Basic
Public Function SetSortOrder ( _
	sortProperty As TPropertyEnum, _
	sortDirection As ListSortDirection _
) As QuerySettings(Of TConfigurationObject, TPropertyEnum)

Parameters

sortProperty
Type: TPropertyEnum
The property to sort on.
sortDirection
Type: System.ComponentModel..::..ListSortDirection
The direction sort.

Return Value

This QuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also