Export (0) Print
Expand All

UITestControl.CopyFrom Method

Creates a UITestControl object that references the same element on the user interface as the original UITestControl.

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

public virtual void CopyFrom(
	UITestControl controlToCopy
)

Parameters

controlToCopy
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

The control to be copied.

Show:
© 2014 Microsoft