QueryExpression.AddOrder Method
Definition
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.
Overloads
AddOrder(String, OrderType) |
Adds the specified order expression to the query expression. |
AddOrder(String, OrderType, String, String) |
AddOrder(String, OrderType)
Adds the specified order expression to the query expression.
public:
void AddOrder(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::OrderType orderType);
public void AddOrder (string attributeName, Microsoft.Xrm.Sdk.Query.OrderType orderType);
member this.AddOrder : string * Microsoft.Xrm.Sdk.Query.OrderType -> unit
Public Sub AddOrder (attributeName As String, orderType As OrderType)
Parameters
Applies to
AddOrder(String, OrderType, String, String)
public:
void AddOrder(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::OrderType orderType, System::String ^ alias, System::String ^ entityName);
public void AddOrder (string attributeName, Microsoft.Xrm.Sdk.Query.OrderType orderType, string alias, string entityName);
member this.AddOrder : string * Microsoft.Xrm.Sdk.Query.OrderType * string * string -> unit
Public Sub AddOrder (attributeName As String, orderType As OrderType, alias As String, entityName As String)
Parameters
- attributeName
- String
- orderType
- OrderType
- alias
- String
- entityName
- String