TestAndCategoryPair.ToTestId (Método)

Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.

Devuelve un objeto TestId utilizando el objeto TestAndCategoryPair proporcionado.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Common
Ensamblado:  Microsoft.VisualStudio.QualityTools.Common (en Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxis

'Declaración
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

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.TestTools.Common.TestId
Objeto de identificador de prueba.

Seguridad de .NET Framework

Vea también

Referencia

TestAndCategoryPair Clase

Microsoft.VisualStudio.TestTools.Common (Espacio de nombres)

TestId