Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BindingSource.RemoveSort Method

Removes the sort associated with the BindingSource.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual void RemoveSort()

Implements

IBindingList.RemoveSort()

ExceptionCondition
NotSupportedException

The underlying list does not support sorting.

The RemoveSort method refers the request to the underlying list's IBindingList.RemoveSort method. Only lists that implement IBindingList support sorting.

By default, a call to this method is equivalent to setting the Sort property to null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft