SortDescription(String, ListSortDirection) SortDescription(String, ListSortDirection) SortDescription(String, ListSortDirection) SortDescription(String, ListSortDirection) Constructor

Definition

Initializes a new instance of the SortDescription structure.

public:
 SortDescription(System::String ^ propertyName, System::ComponentModel::ListSortDirection direction);
public SortDescription (string propertyName, System.ComponentModel.ListSortDirection direction);
new System.ComponentModel.SortDescription : string * System.ComponentModel.ListSortDirection -> System.ComponentModel.SortDescription
Public Sub New (propertyName As String, direction As ListSortDirection)

Parameters

propertyName
String String String String

The name of the property to sort the list by.

Exceptions

Applies to