Adds the specified sort parameter to a list of sort parameters to be used when requesting a list of EWS items or messages.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Function AddSortParameter ( _
	sortOrder As EwsItemSortOrder, _
	sortBy As EwsItemSortBy _
) As EwsListView
C#
public EwsListView AddSortParameter(
	EwsItemSortOrder sortOrder,
	EwsItemSortBy sortBy
)

Parameters

sortOrder
Type: Rebex.Net..::..EwsItemSortOrder
Ascending or descending sort order.
sortBy
Type: Rebex.Net..::..EwsItemSortBy
Which item property will be used as a sort key.

Return Value

This EwsListView.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also