System.Windows.Forms.BindingManagerBase.RemoveAt Method

When overridden in a derived class, deletes the row at the specified index from the underlying list.

Syntax

public abstract void RemoveAt (int index)

Parameters

index
The index of the row to delete.

Remarks

The BindingManagerBase.RemoveAt(int) method relies on the underlying data source to determine how the method behaves. (See the System.Windows.Forms.Binding class for a list of supported data sources.) For classes that implement IList, System.ComponentModel.IBindingList, or System.ComponentModel.ITypedList, as well as strongly typed classes that implement IList, the BindingManagerBase.RemoveAt(int) method actually deletes the row in the underlying list instead of removing its contents.

If the underlying list implements the System.ComponentModel.IBindingList interface, the System.ComponentModel.IBindingList.AllowRemove property must return true. If the underlying list implements the IList interface, the IList.IsFixedSize property must return false.

Requirements

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