Partager via


IUITechnologyManager.ConvertToThisTechnology, méthode

Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.

Prend un élément d'une autre technologie et retourne un élément compatible pour la technologie actuelle avec son niveau de prise en charge pour l'élément converti.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
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

Paramètres

  • supportLevel
    Type : Int32%

    (Sortie) Niveau de prise en charge de l'élément fourni dans la nouvelle technologie.

Valeur de retour

Type : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Nouvel élément.

Sécurité .NET Framework

Voir aussi

Référence

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension, espace de noms

IUITechnologyElement