Redigera

Dela via


DesignerRegionCollection.CopyTo(Array, Int32) Method

Definition

Copies the elements of the collection to an Array object, starting at a particular Array index.

public:
 void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
member this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

The Array that is the destination of the copied regions. The Array must have zero-based indexing.

index
Int32

The zero-based index in array at which copying begins.

Remarks

Use the Add or Insert method to add the design regions to the DesignerRegionCollection collection.

Applies to

See also