UITechnologyManager.ConvertToThisTechnology 方法

定义

采用其他技术中的元素,并返回与当前技术兼容的元素,以及它对转换后的元素的支持级别。

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

参数

elementToConvert
IUITechnologyElement

一个 IUITechnologyElement 对象。

supportLevel
Int32

(输出) 新技术中提供的元素的支持级别。

返回

IUITechnologyElement

新元素。

实现

适用于