QueryByAttribute.AddOrder Method (String, OrderType)
Applies To: Dynamics CRM 2015
Adds an order to the orders collection.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public void AddOrder(
string attributeName,
OrderType orderType
)
public:
void AddOrder(
String^ attributeName,
OrderType orderType
)
member AddOrder :
attributeName:string *
orderType:OrderType -> unit
Public Sub AddOrder (
attributeName As String,
orderType As OrderType
)
Parameters
attributeName
Type: System.StringType: String. The logical name of the attribute.
orderType
Type: Microsoft.Xrm.Sdk.Query.OrderTypeType: OrderType. The order for that attribute.
See Also
QueryByAttribute Class
Microsoft.Xrm.Sdk.Query Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright