共用方式為


OrderType 列舉

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.

平台

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008、Windows Server 2012、Windows 7

請參閱

參照

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.
© 2015 Microsoft. All rights reserved.