ToolStripPanel.ToolStripPanelRowCollection.CopyTo Method

Definition

Copies the entire ToolStripPanel.ToolStripPanelRowCollection into an existing array at a specified location within the array.

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

Parameters

array
ToolStripPanelRow[]

An Array representing the array to copy the contents of the ToolStripPanel.ToolStripPanelRowCollection to.

index
Int32

The location within the destination array to copy the ToolStripPanel.ToolStripPanelRowCollection to.

Applies to