RemoveFilter Method

BindingSource.RemoveFilter Method ()

 

Removes the filter associated with the BindingSource.

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

public virtual void RemoveFilter()

Exception Condition
NotSupportedException

The underlying list does not support filtering.

The RemoveFilter method refers the request to the underlying list's IBindingListView.RemoveFilter method. Only lists that implement IBindingListView support filtering.

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft