Share via


ITmi.GetTestResults Method (TestRun, ITestElement)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets an array of test results from the provided test run that are in the provided test.

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

Syntax

'Declaration
Function GetTestResults ( _
    run As TestRun, _
    test As ITestElement _
) As TestResult()
TestResult[] GetTestResults(
    TestRun run,
    ITestElement test
)
array<TestResult^>^ GetTestResults(
    TestRun^ run, 
    ITestElement^ test
)
abstract GetTestResults : 
        run:TestRun * 
        test:ITestElement -> TestResult[] 
function GetTestResults(
    run : TestRun, 
    test : ITestElement
) : TestResult[]

Parameters

Return Value

Type: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
An array of test results.

.NET Framework Security

See Also

Reference

ITmi Interface

GetTestResults Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestRun

TestElement

TestResult