Overview | Methods | This Package | All Packages
Creates a ListItem object.
Syntax
public ListItem()
public ListItem( IDataStream stream )
public ListItem( String text )
public ListItem( String text, int image )
public ListItem( String text, String[] subItems )
public ListItem( String text, int image, String[] subItems )
Parameters
stream
The IDataStream object to use to create the item.
text
The string to display for the list item.
image
The zero-based index of the image within the ImageList object associated with the ListView control that contains this item.
subItems
An array of strings that represent the subitems of the new item.