Share via


TopLevelElement.Clone Method

Returns a cloned copy of this top level element.

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

Syntax

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

Return Value

Type: System.Object
A copy of this top level element.

.NET Framework Security

See Also

Reference

TopLevelElement Class

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