FindItemType.SortOrder Property

The SortOrder property gets or sets the sort order of items returned in the result set. This property is optional. This is a read/write property.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
Public Property SortOrder As FieldOrderType()
    Get
    Set
'Usage
Dim instance As FindItemType
Dim value As FieldOrderType()

value = instance.SortOrder

instance.SortOrder = value
public FieldOrderType[] SortOrder { get; set; }

Property Value

Type: []
The SortOrder property returns an array of FieldOrderType objects that describe which properties are used to sort the result set.

Remarks

The first item in the array of FieldOrderType objects is the primary property that is used to determine the sort order. The next item in the array is the secondary property that is used to determine the sort order in the result set. Each consecutive item in the array of FieldOrderType objects is used to sort the items in the result set, with each consecutive item being of lower precedence in the sort hierarchy. The FieldOrderType objects also describe the sort direction of the items.

This property is optional.