UITestControl.CopyFrom Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Sub CopyFrom ( _
controlToCopy As UITestControl _
)
public virtual void CopyFrom(
UITestControl controlToCopy
)
public:
virtual void CopyFrom(
UITestControl^ controlToCopy
)
abstract CopyFrom :
controlToCopy:UITestControl -> unit
override CopyFrom :
controlToCopy:UITestControl -> unit
public function CopyFrom(
controlToCopy : UITestControl
)
Parameters
- controlToCopy
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
.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.