閱讀英文

共用方式為


UITechnologyManagerProxy.ConvertToThisTechnology 方法

轉換成另一種技術的指定項目轉換成這個技術管理員的新項目的項目。

這個用於作業 (例如在裝載間切換的方式和載入技術。

命名空間:  Microsoft.VisualStudio.TestTools.UITesting
組件:  Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

語法

public override IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)

參數

  • supportLevel
    型別:System.Int32%
    支援層級提供的已轉換的項目從這個技術管理員。

傳回值

型別:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
新的轉換項目在這項技術或為 null,則不能進行轉換。

實作

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

.NET Framework 安全性

請參閱

參考

UITechnologyManagerProxy 類別

Microsoft.VisualStudio.TestTools.UITesting 命名空間

GetControlSupportLevel

ControlSupport