OrderType Enumeration
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Contains the possible values for the order type in an OrderExpression.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
<DataContractAttribute(Name:="OrderType", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
Public Enumeration OrderType
[DataContractAttribute(Name="OrderType", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")]
public enum OrderType
Members
Member name | Description |
---|---|
Ascending | The values of the specified attribute should be sorted in ascending order, from lowest to highest. Value = 0. |
Descending | The values of the specified attribute should be sorted in descending order, from highest to lowest. Value = 1. |
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
Microsoft.Xrm.Sdk.Query Namespace
Other Resources
Sample: Page Large Result Sets with Query Expression and FetchXML
Sample: Update With Related Actions (Early Bound)
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.