ComponentCollection::CopyTo Method (array<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(
	array<IComponent^>^ array,
	int index
)

Parameters

array
Type: array<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: