ListSortDescription(PropertyDescriptor, ListSortDirection) Konstruktor
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Inicializuje novou instanci ListSortDescription třídy se zadaným popisem a směrem vlastnosti.
public:
ListSortDescription(System::ComponentModel::PropertyDescriptor ^ property, System::ComponentModel::ListSortDirection 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)
Parametry
- property
- PropertyDescriptor
Popisuje PropertyDescriptor vlastnost, podle které je zdroj dat seřazen.
- direction
- ListSortDirection
Jedna z ListSortDescription hodnot.