Condividi tramite


Metodo IUITechnologyManager.ConvertToThisTechnology

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Accetta un elemento da un'altra tecnologia e restituisce un elemento compatibile con la tecnologia corrente insieme al livello di supporto che quest'ultima offre per l'elemento convertito.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintassi

'Dichiarazione
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

Parametri

  • supportLevel
    Tipo: System.Int32%
    (Output) Livello di supporto dell'elemento fornito nella nuova tecnologia.

Valore restituito

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IUITechnologyManager Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension

IUITechnologyElement