QueryExpression.AddOrder Method (String, OrderType)

 

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

Adds the specified order expression to the query expression.

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

Syntax

public void AddOrder(
    string attributeName,
    OrderType orderType
)
Public Sub AddOrder (
    attributeName As String,
    orderType As OrderType
)

Parameters

See Also

QueryExpression Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright