Allows you to add an Item to the ListBox, but in a location you specify, as opposed to the end of the list. Note that if the sorted property is set to "true", values inserted via this method are not property sorted. the addItem method should be used instead.
[Visual Basic] Public Sub InsertItem( _ ByVal index As Integer, _ ByVal item As Object _ ) [C#] public void InsertItem( int index, object item ); [C++] public: void InsertItem( int index, Object* item ); [JScript] public function InsertItem( index : int, item : Object );
the index at which it was inserted [this can be different from the requested index in sorted listboxes, etc.]