編集

次の方法で共有


ListView.SelectedListViewItemCollection.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);
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.SelectedListViewItemCollection.

Implements

Exceptions

Always thrown.

Remarks

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

Applies to