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.

UITestControl.CopyFrom Method (UITestControl)

 

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.

Return to top
Show: