Delen via


UIObject.Clone Method

Returns a copy of this UI object.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Overridable Function Clone As Object
public virtual Object Clone()
public:
virtual Object^ Clone()
abstract Clone : unit -> Object  
override Clone : unit -> Object
public function Clone() : Object

Return Value

Type: Object
A copy of this UI object.

Implements

ICloneable.Clone

.NET Framework Security

See Also

Reference

UIObject Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace