編集

次の方法で共有


ListBox.SelectedIndexCollection.IList.RemoveAt(Int32) Method

Definition

For a description of this member, see RemoveAt(Int32).

 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

This member is an explicit interface member implementation. It can be used only when the ListBox.SelectedIndexCollection instance is cast to an IList interface.

You cannot change the ListBox.SelectedIndexCollection class directly. To remove an item from the ListBox.SelectedIndexCollection, use the SelectedIndex property or the SetSelected method.

Applies to

See also