QueryByAttribute.Orders Property

Definition

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

public:
 property Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::Query::OrderExpression ^> ^ Orders { Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::Query::OrderExpression ^> ^ get(); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.Query.OrderExpression> Orders { get; }
[<System.Runtime.Serialization.DataMember>]
member this.Orders : Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.Query.OrderExpression>
Public ReadOnly Property Orders As DataCollection(Of OrderExpression)

Property Value

A collection that defines the order in which the entity instances are returned from the query.

Attributes

Remarks

Use AddOrder(String, OrderType) to add to this collection.

Applies to