ListSortDescription(PropertyDescriptor, ListSortDirection) Конструктор
Определение
Инициализирует новый экземпляр класса ListSortDescription, используя заданно описание свойства и направление.Initializes a new instance of the ListSortDescription class with the specified property description and direction.
public:
ListSortDescription(System::ComponentModel::PropertyDescriptor ^ property, System::ComponentModel::ListSortDirection direction);
public ListSortDescription (System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction);
new System.ComponentModel.ListSortDescription : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> System.ComponentModel.ListSortDescription
Public Sub New (property As PropertyDescriptor, direction As ListSortDirection)
Параметры
- property
- PropertyDescriptor
Дескриптор PropertyDescriptor, описывающий свойство, по которому сортируется источник данных.The PropertyDescriptor that describes the property by which the data source is sorted.
- direction
- ListSortDirection
Одно из значений перечисления ListSortDescription.One of the ListSortDescription values.