Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft