This documentation is archived and is not being maintained.

ListView.ListViewItemCollection.Insert Method

Inserts an item into the collection at the specified index.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Insert(Int32, String) Creates a new item and inserts it into the collection at the specified index.
Public method Insert(Int32, ListViewItem) Inserts an existing ListViewItem into the collection at the specified index.
Public method Insert(Int32, String, Int32) Creates a new item with the specified image index and inserts it into the collection at the specified index.
Public method Insert(Int32, String, String) Creates a new item with the specified text and image and inserts it in the collection at the specified index.
Public method Insert(Int32, String, String, Int32) Creates a new item with the specified key, text, and image, and inserts it in the collection at the specified index.
Public method Insert(Int32, String, String, String) Creates a new item with the specified key, text, and image, and adds it to the collection at the specified index.
Top
Show: