ListView.SelectedListViewItemCollection.IList.RemoveAt Method (Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes an item from the collection at a specified index.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Private Sub RemoveAt (
	index As Integer
)
	Implements IList.RemoveAt

Parameters

index
Type: System.Int32

The zero-based index of the item to remove.

Exception Condition
NotSupportedException

Always thrown.

You cannot change the ListView.SelectedListViewItemCollection class directly. To remove an item from the ListView.SelectedListViewItemCollection, use the Selected property.

.NET Framework
Available since 1.1
Return to top
Show: