System.Windows.Forms.BindingSource.Remove Method

Removes the specified item from the list.

Syntax

public virtual void Remove (object value)

Parameters

value
The item to remove from the underlying list represented by the BindingSource.List property.

Remarks

The BindingSource.Remove(object) method causes the list to be searched for the value parameter. If found, this method will attempt to remove the item from the BindingSource.List. This attempt will fail if the list has a fixed size or is read-only. These two conditions can be tested with the BindingSource.IsFixedSize and BindingSource.IsReadOnly properties, respectively.

This method raises the BindingSource.ListChanged event.

Requirements

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