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
- 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.