共用方式為


UITechnologyManagerProxy.ConvertToThisTechnology 方法

轉換其他技術的項目指定給此技術管理員加入項目。

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

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

語法

'宣告
Public Overrides Function ConvertToThisTechnology ( _
    elementToConvert As IUITechnologyElement, _
    <OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public override IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
    IUITechnologyElement^ elementToConvert, 
    [OutAttribute] int% supportLevel
) override
abstract ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement  
override ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement
public override function ConvertToThisTechnology(
    elementToConvert : IUITechnologyElement, 
    supportLevel : int
) : IUITechnologyElement

參數

  • supportLevel
    類型:Int32%

    支援層級提供了這個轉換的元素此技術管理員。

傳回值

類型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
新的呈現的項目在此技術或空白,則不可能進行轉換。

實作

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

.NET Framework 安全性

請參閱

參考

UITechnologyManagerProxy 類別

Microsoft.VisualStudio.TestTools.UITesting 命名空間

GetControlSupportLevel

ControlSupport