This documentation is archived and is not being maintained.

ListView.ListViewItemCollection.Add Method

Adds an item to the collection of items.

Name Description
ListView.ListViewItemCollection.Add (ListViewItem) Adds an existing ListViewItem to the collection.

Supported by the .NET Compact Framework.

ListView.ListViewItemCollection.Add (String) Adds an item to the collection with the specified text.
ListView.ListViewItemCollection.Add (String, Int32) Adds an item to the collection with the specified text and image.
ListView.ListViewItemCollection.Add (String, String) Creates an item with the specified text and image and adds it to the collection.
ListView.ListViewItemCollection.Add (String, String, Int32) Creates an item with the specified key, text, and image and adds an item to the collection.
ListView.ListViewItemCollection.Add (String, String, String) Creates and item with the specified key, text, and image, and adds it to the collection.
Show: