Rediger

Del via


BindingList<T>.IBindingList.ApplySort Method

Definition

Sorts the list based on a PropertyDescriptor and a ListSortDirection. For a complete description of this member, see ApplySort(PropertyDescriptor, ListSortDirection).

 virtual void System.ComponentModel.IBindingList.ApplySort(System::ComponentModel::PropertyDescriptor ^ prop, System::ComponentModel::ListSortDirection direction) = System::ComponentModel::IBindingList::ApplySort;
void IBindingList.ApplySort (System.ComponentModel.PropertyDescriptor prop, 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 (prop As PropertyDescriptor, direction As ListSortDirection) Implements IBindingList.ApplySort

Parameters

prop
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 BindingList<T> instance is cast to an IBindingList interface.

Applies to