Del via


QueryByAttribute.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>
A collection that defines the order in which the entity instances are returned from the query.

Remarks

Use AddOrder to add to this collection.

See Also

QueryByAttribute Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright