BrowserWindow.CopyFrom Method
Creates a user interface (UI) control object that references the same element on the user interface as the original control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Sub CopyFrom ( _
control As UITestControl _
)
public override void CopyFrom(
UITestControl control
)
public:
virtual void CopyFrom(
UITestControl^ control
) override
abstract CopyFrom :
control:UITestControl -> unit
override CopyFrom :
control:UITestControl -> unit
public override function CopyFrom(
control : UITestControl
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlThe UITestControl to copy.
.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.