BindingList(Of T).RemoveSortCore Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

Protected Overridable Sub RemoveSortCore

Exception Condition
NotSupportedException

Method is not overridden in a derived class.

The BindingList(Of 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.

.NET Framework
Available since 2.0
Return to top
Show: