Partager via


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
<XmlArrayItemAttribute("FieldOrder", Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
Public Property SortOrder As FieldOrderType()
[XmlArrayItemAttribute("FieldOrder", Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public FieldOrderType[] SortOrder { get; set; }
[XmlArrayItemAttribute(L"FieldOrder", Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public:
property array<FieldOrderType^>^ SortOrder {
    array<FieldOrderType^>^ get ();
    void set (array<FieldOrderType^>^ value);
}
/** @property */
public FieldOrderType[] get_SortOrder ()

/** @property */
public void set_SortOrder (FieldOrderType[] value)
public function get SortOrder () : FieldOrderType[]

public function set SortOrder (value : FieldOrderType[])

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)