QueryByAttribute.Orders Property

 

Updated: November 29, 2016

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)

[DataMemberAttribute]
public DataCollection<OrderExpression> Orders { get; private set; }

Property Value

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

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

Use AddOrder to add to this collection.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: