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.

DesignerVerbCollection::CopyTo Method (array<DesignerVerb^>^, Int32)

 

Copies the collection members to the specified DesignerVerb array beginning at the specified destination index.

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

public:
void CopyTo(
	array<DesignerVerb^>^ array,
	int index
)

Parameters

array
Type: array<System.ComponentModel.Design::DesignerVerb^>^

The array to copy collection members to.

index
Type: System::Int32

The destination index to begin copying to.

The following code example demonstrates how to copy a collection of DesignerVerb objects to an array.

// Copies the contents of the collection, beginning at index 0,
// to the specified DesignerVerb array.
// 'verbs' is a DesignerVerb array.
collection->CopyTo( verbs, 0 );

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft