BindingList<T>.RemoveSortCore Method

Definition

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

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

Exceptions

Method is not overridden in a derived class.

Remarks

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