Споделяне чрез


QueryByAttribute.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>
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

© 2016 Microsoft. All rights reserved. Copyright