Compartilhar via


UITechnologyManager.ConvertToThisTechnology Method

Definition

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.

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ ConvertToThisTechnology(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ elementToConvert, [Runtime::InteropServices::Out] int % supportLevel);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement ConvertToThisTechnology (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement elementToConvert, out int supportLevel);
abstract member ConvertToThisTechnology : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * int -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride Function ConvertToThisTechnology (elementToConvert As IUITechnologyElement, ByRef supportLevel As Integer) As IUITechnologyElement

Parameters

elementToConvert
IUITechnologyElement

An IUITechnologyElement object.

supportLevel
Int32

(Output) The support level of the provided element in the new technology.

Returns

The new element.

Implements

Applies to