Editar

Compartir a través de


ListView.SelectedListViewItemCollection.IList.RemoveAt(Int32) Method

Definition

Removes an item from the collection at a specified index.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parameters

index
Int32

The zero-based index of the item to remove.

Implements

Exceptions

Always thrown.

Remarks

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

Applies to