Share via


OrderType Enum

Definition

Contains the possible values for the order type in an OrderExpression.

public enum class OrderType
[System.Runtime.Serialization.DataContract(Name="OrderType", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public enum OrderType
[<System.Runtime.Serialization.DataContract(Name="OrderType", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type OrderType = 
Public Enum OrderType
Inheritance
OrderType
Attributes

Fields

Name Value Description
Ascending 0

The values of the specified attribute should be sorted in ascending order, from lowest to highest.

Descending 1

The values of the specified attribute should be sorted in descending order, from highest to lowest.

Applies to