System.Windows.Forms.ListViewItem.Clone Method

Creates an identical copy of the item.

Syntax

public virtual object Clone ()

Returns

An object that represents an item that has the same text, image, and subitems associated with it as the cloned item.

Remarks

You can use this method to create a new instance of the System.Windows.Forms.ListViewItem class based on an existing item. Even the subitems of the item being cloned are specified for the new version. This feature is useful if you want to reuse a System.Windows.Forms.ListViewItem in more than one System.Windows.Forms.ListView control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0