Editar

Partilhar via


ToolStripItemCollection.Insert(Int32, ToolStripItem) Method

Definition

Inserts the specified item into the collection at the specified index.

public:
 void Insert(int index, System::Windows::Forms::ToolStripItem ^ value);
public void Insert (int index, System.Windows.Forms.ToolStripItem value);
member this.Insert : int * System.Windows.Forms.ToolStripItem -> unit
Public Sub Insert (index As Integer, value As ToolStripItem)

Parameters

index
Int32

The location in the ToolStripItemCollection at which to insert the ToolStripItem.

value
ToolStripItem

The ToolStripItem to insert.

Exceptions

The value parameter is null.

Applies to