Share via


TestElement.Clone Method

When overridden in a derived class, returns a copy of this test element.

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

Syntax

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

Return Value

Type: Object
A copy of this test element.

Implements

ICloneable.Clone

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace