Constructor ListViewItem
ListViewItem()
Initializes a new instance of the ListViewItem class with default values.
public ListViewItem()
ListViewItem(string, int?)
Initializes a new instance of the ListViewItem class with the specified item text and the image index position of the item's icon.
public ListViewItem(string text, int? imageIndex = null)
Parameters
text
stringThe text to display for the item.
imageIndex
int?The zero-based index of the image within the ImageList associated with the ListView that contains the item. Optional.
ListViewItem(string[], int?)
Initializes a new instance of the ListViewItem class with an array of strings representing column cells and the image index position of the item's icon.
public ListViewItem(string[] cellText, int? imageIndex = null)