Inserts a new ListItem into the ListView. The item will be inserted either in the correct sorted position, or, if no sorting is set, at the position indicated by the index parameter. The item is created with no subItems.
[Visual Basic] Overloads Public Function InsertItem( _ ByVal index As Integer, _ ByVal text As String, _ ByVal imageIndex As Integer _ ) As ListItem [C#] public ListItem InsertItem( int index, string text, int imageIndex ); [C++] public: ListItem* InsertItem( int index, String* text, int imageIndex ); [JScript] public function InsertItem( index : int, text : String, imageIndex : int ) : ListItem;
a ListItem object representing the added item
ListView Class | ListView Members | System.WinForms Namespace | ListView.InsertItem Overload List