Initializes a new instance of the SortBy class with the specified sort expression and direction.
| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal sortExpression As ExpressionInfo, _ ByVal direction As SortByDirection _ ) | |
| C# | |
|---|---|
public SortBy( ExpressionInfo sortExpression, SortByDirection direction ) | |
Parameters
- sortExpression
- The initial value for the SortExpression property.
- direction
- The initial value for the Direction property.