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 (array<UITestControl^>^, Int32)
Copies the complete UITestControlCollection to a compatible one-dimensional array, starting at the specified index of the target array.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Parameters
- array
-
Type:
array<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.
Implements
ICollection<T>::CopyTo(array<T>^, Int32)
Show: