Del via


QueryExpression.Orders Property

 

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

Gets the order in which the entity instances are returned from the query.

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

Syntax

[DataMemberAttribute]
public DataCollection<OrderExpression> Orders { get; private set; }
<DataMemberAttribute>
Public Property Orders As DataCollection(Of OrderExpression)
    Get
    Private Set
End Property

Property Value

Type: Microsoft.Xrm.Sdk.DataCollection<OrderExpression>

Type: DataCollection<T><OrderExpression>
The order expression that defines the order in which the entity instances are returned from the query.

Remarks

This property is read only. Use the AddOrder method to change the contents of the array list.

See Also

QueryExpression Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright