ToolStripItemCollection::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 to insert value.

value
Type: System::Object^

The item to insert into the collection.

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

.NET Framework
Available since 2.0
Return to top
Show: