Método UITechnologyManager.ConvertToThisTechnology

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
Public MustOverride Function ConvertToThisTechnology ( _
    elementToConvert As IUITechnologyElement, _
    <OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public abstract IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
    IUITechnologyElement^ elementToConvert, 
    [OutAttribute] int% supportLevel
) abstract
abstract ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement 
public abstract 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.

Implementações

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManager Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

IUITechnologyElement