แก้ไข

แชร์ผ่าน


ListBox.SelectedIndexCollection.IList.Remove(Object) Method

Definition

For a description of this member, see Remove(Object).

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
void IList.Remove (object? value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove

Parameters

value
Object

The object to be removed from the ListBox.SelectedIndexCollection.

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