Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BindingList<T>::RemoveItem Method (Int32)

 

Removes the item at the specified index.

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

protected:
virtual void RemoveItem(
	int index
) override

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:
© 2017 Microsoft