ListView.SelectedIndexCollection.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)

void IList.RemoveAt(
	int index
)

Parameters

index
Type: System.Int32

The zero-based index of the item to remove.

Exception Condition
NotSupportedException

Always thrown.

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

.NET Framework
Available since 1.1
Return to top
Show: