Redigera

Dela via


DataViewManager.IBindingList.ApplySort Method

Definition

Sorts the list based on a PropertyDescriptor and a ListSortDirection.

 virtual void System.ComponentModel.IBindingList.ApplySort(System::ComponentModel::PropertyDescriptor ^ property, System::ComponentModel::ListSortDirection direction) = System::ComponentModel::IBindingList::ApplySort;
void IBindingList.ApplySort (System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction);
abstract member System.ComponentModel.IBindingList.ApplySort : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
override this.System.ComponentModel.IBindingList.ApplySort : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
Sub ApplySort (property As PropertyDescriptor, direction As ListSortDirection) Implements IBindingList.ApplySort

Parameters

property
PropertyDescriptor

The PropertyDescriptor to sort by.

direction
ListSortDirection

One of the ListSortDirection values.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataViewManager instance is cast to an IBindingList interface.

Applies to