Udostępnij za pośrednictwem


Metoda ITmi.GetTest —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Zwraca element test, który odpowiada identyfikator określonego testu.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Function GetTest ( _
    testId As TestId _
) As ITestElement
ITestElement GetTest(
    TestId testId
)
ITestElement^ GetTest(
    TestId^ testId
)
abstract GetTest : 
        testId:TestId -> ITestElement 
function GetTest(
    testId : TestId
) : ITestElement

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.Common.ITestElement
Element kontrolny.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITmi Interfejs

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestId

TestElement