IUITechnologyManager.ConvertToThisTechnology (Método)

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

Toma un elemento de otra tecnología y devuelve un elemento que es compatible con la tecnología actual, junto con el nivel de compatibilidad que tiene con el elemento convertido.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.UITest.Extension
Ensamblado:  Microsoft.VisualStudio.TestTools.UITest.Extension (en Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintaxis

'Declaración
Function ConvertToThisTechnology ( _
    elementToConvert As IUITechnologyElement, _
    <OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)
IUITechnologyElement^ ConvertToThisTechnology(
    IUITechnologyElement^ elementToConvert, 
    [OutAttribute] int% supportLevel
)
abstract ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement 
function ConvertToThisTechnology(
    elementToConvert : IUITechnologyElement, 
    supportLevel : int
) : IUITechnologyElement

Parámetros

  • supportLevel
    Tipo: System.Int32%
    (Salida) Nivel de compatibilidad del elemento especificado en la nueva tecnología.

Valor devuelto

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Nuevo elemento.

Seguridad de .NET Framework

Vea también

Referencia

IUITechnologyManager Interfaz

Microsoft.VisualStudio.TestTools.UITest.Extension (Espacio de nombres)

IUITechnologyElement