BindingList<T>.RemoveItem Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the item at the specified index.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

protected override void RemoveItem(
	int index
)

Parameters

index
Type: System.Int32

The zero-based index of the item to remove.

Exception Condition
NotSupportedException

You are removing a newly added item and AllowRemove is set to false.

This method raises the ListChanged event of type ItemDeleted.

.NET Framework
Available since 2.0
Return to top
Show: