Rediger

Del via


IBindingList.RemoveSort Method

Definition

Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).

public:
 void RemoveSort();
public void RemoveSort ();
abstract member RemoveSort : unit -> unit
Public Sub RemoveSort ()

Exceptions

Remarks

This property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

When you call this method, you should raise a ListChanged event with the Reset enumeration.

Applies to