OrderExpression Constructor (String, OrderType)
Applies To: Dynamics CRM 2015
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)
Syntax
public OrderExpression(
string attributeName,
OrderType orderType
)
public:
OrderExpression(
String^ attributeName,
OrderType orderType
)
new :
attributeName:string *
orderType:OrderType -> OrderExpression
Public Sub New (
attributeName As String,
orderType As OrderType
)
Parameters
attributeName
Type: System.StringType: String. The name of the attribute.
orderType
Type: Microsoft.Xrm.Sdk.Query.OrderTypeType: OrderType. The order, ascending or descending.
See Also
OrderExpression Overload
OrderExpression Class
Microsoft.Xrm.Sdk.Query Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright