Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

QueryExpression.Orders Property

Definition

Namespace:
Microsoft.Xrm.Sdk.Query
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the order in which the records 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

The order expression that defines the order in which records are returned from the query.

Attributes

Remarks

This property is read only. Use the AddOrder(String, OrderType) method to change the contents of the collection.

Applies to