ListBox.SelectedIndexCollection.IList.Remove(Object) Metoda

Definicja

Aby uzyskać opis tego członka, zobacz 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

Parametry

value
Object

Obiekt, który ma zostać usunięty z obiektu ListBox.SelectedIndexCollection.

Implementuje

Wyjątki

Zawsze generowany.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ListBox.SelectedIndexCollection wystąpienie jest rzutowe do interfejsu IList .

Nie można bezpośrednio zmienić ListBox.SelectedIndexCollection klasy. Aby usunąć element z ListBox.SelectedIndexCollectionklasy , użyj SelectedIndex właściwości lub SetSelected metody .

Dotyczy