RemoveItem Method

BindingList(Of T).RemoveItem Method (Int32)

 

Removes the item at the specified index.

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

Protected Overrides Sub RemoveItem (
	index As Integer
)

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