BindingList<T>.IBindingList.ApplySort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.