ComponentCollection.CopyTo Method (IComponent[], Int32)

 

Copies the entire collection to an array, starting writing at the specified array index.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public void CopyTo(
	IComponent[] array,
	int index
)

Parameters

array
Type: System.ComponentModel.IComponent[]

An IComponent array to copy the objects in the collection to.

index
Type: System.Int32

The index of the array at which copying to should begin.

.NET Framework
Available since 1.1
Return to top
Show: