OrderExpression Constructor (String, OrderType)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of the OrderExpression class setting the attribute name and the order type.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public OrderExpression(
	string attributeName,
	OrderType orderType
)

Parameters

attributeName
Type: System.String

Type: String. The name of the attribute.

orderType
Type: Microsoft.Xrm.Sdk.Query.OrderType

Type: OrderType. The order, ascending or descending.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: