Condividi tramite


Metodo TestAndCategoryPair.ToTestId

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Restituisce un oggetto TestId utilizzando l'oggetto TestAndCategoryPair specificato.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

Tipo: Microsoft.VisualStudio.TestTools.Common.TestId
Oggetto ID test.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestAndCategoryPair Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common

TestId