Constructor SortDescription
SortDescription(string, ListSortDirection)
Create a sort description.
public SortDescription(string propertyName, ListSortDirection direction)
Parameters
propertyName
stringProperty to sort by
direction
ListSortDirectionSpecifies the direction of sort operation
Exceptions
- InvalidEnumArgumentException
direction is not a valid value for ListSortDirection