SortOrder

The SortOrder element defines how items are sorted in a FindItem or FindConversation request.

<SortOrder>
   <FieldOrder/>
</SortOrder>

NonEmptyArrayOfFieldOrdersType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
FieldOrder
Represents a single field by which to sort results and indicates the direction for the sort. One or more of these elements may be included. FieldOrder elements are applied in the order specified for sorting.

Parent elements

Element Description
FindItem
Defines a request to find items in a mailbox.
The following is the XPath expression to this element: /FindItem
FindConversation
Defines a request to find conversations in a mailbox.

Text value

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Name Value
Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
False

See also

FindItem operation

FindConversation operation