UITechnologyManager.ConvertToThisTechnology 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
采用其他技术中的元素,并返回与当前技术兼容的元素,以及它对转换后的元素的支持级别。
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
(输出) 新技术中提供的元素的支持级别。
返回
新元素。