CopyTo Method
Collapse the table of content
Expand the table of content

DesignerVerbCollection.CopyTo Method (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(
	DesignerVerb[] array,
	int index
)

Parameters

array
Type: 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:
© 2016 Microsoft