BindingList<T>.RemoveSortCore 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.
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.