TestElement Constructor (TestElement)
Initializes a new instance of the TestElement class by using the provided copy of a test element.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
copy As TestElement _
)
protected TestElement(
TestElement copy
)
protected:
TestElement(
TestElement^ copy
)
new :
copy:TestElement -> TestElement
protected function TestElement(
copy : TestElement
)
Parameters
copy
Type: Microsoft.VisualStudio.TestTools.Common.TestElementA copy of a TestElement object.
.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.