Bewerken

Share via


ToolStripItemCollection.CopyTo(ToolStripItem[], Int32) Method

Definition

Copies the collection into the specified position of the specified ToolStripItem array.

public:
 void CopyTo(cli::array <System::Windows::Forms::ToolStripItem ^> ^ array, int index);
public void CopyTo (System.Windows.Forms.ToolStripItem[] array, int index);
override this.CopyTo : System.Windows.Forms.ToolStripItem[] * int -> unit
Public Sub CopyTo (array As ToolStripItem(), index As Integer)

Parameters

array
ToolStripItem[]

The array of type ToolStripItem to which to copy the collection.

index
Int32

The position in the ToolStripItem array at which to paste the collection.

Applies to