Partager via


UITechnologyManager.ConvertToThisTechnology, méthode

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

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.

Implémentations

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

Sécurité .NET Framework

Voir aussi

Référence

UITechnologyManager Classe

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

IUITechnologyElement