BindingList<T>.RemoveSortCore Method


Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.

 virtual void RemoveSortCore();
protected virtual void RemoveSortCore ();
abstract member RemoveSortCore : unit -> unit
override this.RemoveSortCore : unit -> unit
Protected Overridable Sub RemoveSortCore ()


Method is not overridden in a derived class.


The BindingList<T> class does not provide a base implementation of sorting, so RemoveSortCore always throws a NotSupportedException by default. For more information about sorting, see the ApplySortCore method.

Applies to