ListViewItem Constructor (String[], Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

items
Type: System.String[]

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

imageIndex
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
Show: