ListBox::IntegerCollection::IList::Insert Method (Int32, Object^)

 

Inserts an item into the collection at a specified index.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual void Insert(
	int index,
	Object^ value
) sealed = IList::Insert

Parameters

index
Type: System::Int32

The zero-based index at which value should be inserted.

value
Type: System::Object^

The object to insert into the ListBox::IntegerCollection.

Exception Condition
NotSupportedException

Always thrown.

This member is an explicit interface member implementation. It can be used only when the ListBox::IntegerCollection instance is cast to an IList interface.

.NET Framework
Available since 2.0
Return to top
Show: