BindingSource.ApplySort Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Az adatforrás rendezése a megadott rendezési leírással vagy leírásokkal.
Túlterhelések
| Név | Description |
|---|---|
| ApplySort(PropertyDescriptor, ListSortDirection) |
Az adatforrás rendezése a megadott tulajdonságleíró és rendezési irány használatával. |
| ApplySort(ListSortDescriptionCollection) |
Az adatforrás rendezése a megadott rendezési leírásokkal. |
ApplySort(PropertyDescriptor, ListSortDirection)
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
Az adatforrás rendezése a megadott tulajdonságleíró és rendezési irány használatával.
public:
virtual void ApplySort(System::ComponentModel::PropertyDescriptor ^ property, System::ComponentModel::ListSortDirection sort);
public virtual void ApplySort(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection sort);
abstract member ApplySort : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
override this.ApplySort : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
Public Overridable Sub ApplySort (property As PropertyDescriptor, sort As ListSortDirection)
Paraméterek
- property
- PropertyDescriptor
Az PropertyDescriptor adatforrás rendezésére szolgáló tulajdonságot leíró tulajdonság.
- sort
- ListSortDirection
A ListSortDirection lista rendezési módját jelző beállítás.
Megvalósítás
Kivételek
Az adatforrás nem egy IBindingList.
Megjegyzések
A IBindingList rendszer egyoszlopos rendezést valósít meg a PropertyDescriptor rendezéshez használt tulajdonság megjelölésével, valamint ListSortDirection azt jelzi, hogy a tulajdonság tartalmát növekvő vagy csökkenő sorrendbe kell-e rendezni.
A következőre érvényes:
ApplySort(ListSortDescriptionCollection)
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
- Forrás:
- BindingSource.cs
Az adatforrás rendezése a megadott rendezési leírásokkal.
public:
virtual void ApplySort(System::ComponentModel::ListSortDescriptionCollection ^ sorts);
public virtual void ApplySort(System.ComponentModel.ListSortDescriptionCollection sorts);
abstract member ApplySort : System.ComponentModel.ListSortDescriptionCollection -> unit
override this.ApplySort : System.ComponentModel.ListSortDescriptionCollection -> unit
Public Overridable Sub ApplySort (sorts As ListSortDescriptionCollection)
Paraméterek
Az ListSortDescriptionCollection adatforrásra alkalmazandó rendezési leírásokat tartalmazó.
Megvalósítás
Kivételek
Az adatforrás nem egy IBindingListView.
Megjegyzések
IBindingListView Többoszlopos rendezést valósít meg tulajdonságleíró-irány párok halmazaként.