Share via


QueryExpression.Orders Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property DataCollection<OrderExpression^>^ Orders {
    DataCollection<OrderExpression^>^ get();
    private: void set(DataCollection<OrderExpression^>^ value);
}
[<DataMemberAttribute>]
member Orders : DataCollection<OrderExpression> with 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

© 2016 Microsoft. All rights reserved. Copyright