UITestControlCollection.CopyTo Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.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[]
- arrayIndex
Type: Int32
Implements
ICollection.CopyTo(UTP, 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.