Udostępnij za pośrednictwem


Metoda UITechnologyManagerProxy.ConvertToThisTechnology —

Konwertuje nowy element ten Menedżer technologii danego elementu innej technologii.

Używany do operacji, takich jak przełączanie między technologiami obsługiwane i hostingu.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
Public Overrides Function ConvertToThisTechnology ( _
    elementToConvert As IUITechnologyElement, _
    <OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public override IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
    IUITechnologyElement^ elementToConvert, 
    [OutAttribute] int% supportLevel
) override
abstract ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement 
override ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement 
public override function ConvertToThisTechnology(
    elementToConvert : IUITechnologyElement, 
    supportLevel : int
) : IUITechnologyElement

Parametry

  • supportLevel
    Typ: System.Int32%
    Poziom wsparcia dla elementu przekonwertowane przez menedżera tej technologii.

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Nowy element przekonwertowane w tej technologii lub null, jeśli konwersja nie jest możliwe.

Implementuje

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyManagerProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting

GetControlSupportLevel

ControlSupport