OrderType 枚举

应用到: CRM 2015 on-prem, CRM Online

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

命名空间: Microsoft.Xrm.Sdk.Query
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)

语法

声明
<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

成员

成员名称 描述
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.

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

Microsoft.Xrm.Sdk.Query 命名空间

其他资源

Sample: Page Large Result Sets with Query Expression and FetchXML
Sample: Update With Related Actions (Early Bound)

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.