OrderType Enumeration
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, 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
[DataContractAttribute(Name = "OrderType", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public enum OrderType
<DataContractAttribute(Name := "OrderType", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public Enumeration 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. |
See Also
Microsoft.Xrm.Sdk.Query Namespace
Page large result sets with QueryExpression
Sample: Create and update records with related records (early bound)
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright