Export (0) Print
Expand All

BindingList(Of T).RemoveItem Method

Removes the item at the specified index.

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

'Declaration
Protected Overrides Sub RemoveItem ( _
	index As Integer _
)

Parameters

index
Type: System.Int32

The zero-based index of the item to remove.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft