ListViewItem Constructor (String[], Int32)

ListViewItem Constructor (String[], Int32)


Initializes a new instance of the ListViewItem class with the image index position of the item's icon and an array of strings representing subitems.

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

public ListViewItem(
	string[] items,
	int imageIndex


Type: System.String[]

An array of strings that represent the subitems of the new item.

Type: System.Int32

The zero-based index of the image within the ImageList associated with the ListView that contains the item.

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