Copies a clone of this object to the TestRun.Result of the provided test run.
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
    targetRun As TestRun _
)
public void CopyTo(
    TestRun targetRun
)
public:
void CopyTo(
    TestRun^ targetRun
)
member CopyTo : 
        targetRun:TestRun -> unit
public function CopyTo(
    targetRun : TestRun
)
Parameters
- targetRun 
 Type: Microsoft.VisualStudio.TestTools.Common.TestRun- A TestRun 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.