Método IUITechnologyManager.ConvertToThisTechnology

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Leva a um elemento de outra tecnologia e retorna um elemento que é compatível com a tecnologia atual, juntamente com o nível de suporte que possui para o elemento convertido.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (em Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintaxe

'Declaração
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%
    (Saída) O nível de suporte do elemento fornecido na nova tecnologia.

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O novo elemento.

Segurança do .NET Framework

Consulte também

Referência

IUITechnologyManager Interface

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

IUITechnologyElement