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.

UITestControlCollection.CopyTo Method (UITestControl[], Int32)

 

Copies the complete UITestControlCollection to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public void CopyTo(
	UITestControl[] array,
	int arrayIndex
)

Parameters

array
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl[]

The one-dimensional array that is the destination of the elements that are copied from UITestControlCollection. The array must have zero-based indexing.

arrayIndex
Type: System.Int32

The zero-based index in the array parameter at which copying starts.

Return to top
Show: