Partager via


TestAndCategoryPair.ToTestListCategoryId, 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 TestListCategoryId à 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 ToTestListCategoryId ( _
    pair As TestAndCategoryPair _
) As TestListCategoryId
public static TestListCategoryId ToTestListCategoryId(
    TestAndCategoryPair pair
)
public:
static TestListCategoryId^ ToTestListCategoryId(
    TestAndCategoryPair^ pair
)
static member ToTestListCategoryId : 
        pair:TestAndCategoryPair -> TestListCategoryId 
public static function ToTestListCategoryId(
    pair : TestAndCategoryPair
) : TestListCategoryId

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
Objet d'ID de catégorie de liste de tests.

Sécurité .NET Framework

Voir aussi

Référence

TestAndCategoryPair Classe

Microsoft.VisualStudio.TestTools.Common, espace de noms

TestListCategoryId