Remove Method

ListViewItem.Remove Method ()

 

Removes the item from its associated ListView control.

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

public virtual void Remove()

This method is similar in function to the Remove method of the ListView.ListViewItemCollection in the ListView control that contains the item. You can use the Remove method to remove an item from its ListView control. This feature can be useful if you want to move the item to a different ListView control or need to remove the item based on a request from the user to remove the item from within your application.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft