Editar

Compartilhar via


ListViewItem.ListViewSubItemCollection.Remove Method

Definition

Removes a specified item from the collection.

public:
 void Remove(System::Windows::Forms::ListViewItem::ListViewSubItem ^ item);
public void Remove (System.Windows.Forms.ListViewItem.ListViewSubItem item);
public void Remove (System.Windows.Forms.ListViewItem.ListViewSubItem? item);
member this.Remove : System.Windows.Forms.ListViewItem.ListViewSubItem -> unit
Public Sub Remove (item As ListViewItem.ListViewSubItem)

Parameters

item
ListViewItem.ListViewSubItem

The item to remove from the collection.

Remarks

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.

Applies to