Επεξεργασία

Κοινή χρήση μέσω


ListView.SelectedIndexCollection.IList.Remove(Object) Method

Definition

Removes the first occurrence of a specified item from the collection.

 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 remove from the ListView.SelectedIndexCollection.

Implements

Exceptions

Always thrown.

Remarks

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

Applies to