ListViewItem::ListViewSubItemCollection::Remove Method (ListViewItem::ListViewSubItem^)

 

Removes a specified item from the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void Remove(
	ListViewItem::ListViewSubItem^ item
)

Parameters

item
Type: System.Windows.Forms::ListViewItem::ListViewSubItem^

The item to remove from the collection.

If you want to remove an item at a specified index or with a specified key, use the RemoveAt method or the RemoveByKey method, respectively.

.NET Framework
Available since 1.1
Return to top
Show: