Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub CopyTo ( _
array As UITestControl(), _
arrayIndex As Integer _
)
public void CopyTo(
UITestControl[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<UITestControl^>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:UITestControl[] *
arrayIndex:int -> unit
override CopyTo :
array:UITestControl[] *
arrayIndex:int -> unit
public final function CopyTo(
array : UITestControl[],
arrayIndex : int
)
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)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.