Partager via


TestAndCategoryPair.ToTestId, méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

Retourne un objet TestId à l'aide de l'objet TestAndCategoryPair fourni.

Espace de noms :  Microsoft.VisualStudio.TestTools.Common
Assembly :  Microsoft.VisualStudio.QualityTools.Common (dans Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.TestTools.Common.TestId
Objet d'ID de test.

Sécurité .NET Framework

Voir aussi

Référence

TestAndCategoryPair Classe

Microsoft.VisualStudio.TestTools.Common, espace de noms

TestId