ToolStripItemCollection.Insert(Int32, ToolStripItem) Method

Definition

Inserta el elemento especificado en el índice especificado de la colección.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

Ubicación de la ToolStripItemCollection en la que se inserta el control ToolStripItem.The location in the ToolStripItemCollection at which to insert the ToolStripItem.

value
ToolStripItem

Clase ToolStripItem que se va a insertar.The ToolStripItem to insert.

Exceptions

El parámetro value es null.The value parameter is null.

Applies to