Udostępnij za pośrednictwem


Metoda TestAndCategoryPair.ToTestId —

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

Zwraca TestId obiektu za pomocą dostarczonego TestAndCategoryPair obiektu.

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

Składnia

'Deklaracja
Public Shared Function ToTestId ( _
    pair As TestAndCategoryPair _
) As TestId
public static TestId ToTestId(
    TestAndCategoryPair pair
)
public:
static TestId^ ToTestId(
    TestAndCategoryPair^ pair
)
static member ToTestId : 
        pair:TestAndCategoryPair -> TestId 
public static function ToTestId(
    pair : TestAndCategoryPair
) : TestId

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.Common.TestId
Test Identyfikatora obiektu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestAndCategoryPair Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestId