Compartilhar via


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

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace