UITechnologyManager.ConvertToThisTechnology Method

Takes an element from another technology and returns an element that is compatible for the current technology, along with the level of support it has for the converted element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

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

Parameters

  • supportLevel
    Type: System.Int32%
    (Output) The support level of the provided element in the new technology.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The new element.

Implements

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement