Share via


IUITechnologyManager.ConvertToThisTechnology Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Takes an element from another technology and returns an element that is compatible for the current technology, together with the level of support that 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
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

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.

.NET Framework Security

See Also

Reference

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement