Redigera

Dela via


ListView.CheckedListViewItemCollection.IList.RemoveAt(Int32) Method

Definition

Removes an item from the collection at the 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.CheckedListViewItemCollection class directly. To remove an item from the ListView.CheckedListViewItemCollection, use the ListViewItem.Checked property.

Applies to