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
新转换的元素。本技术或 null,则转换是不可能的。

实现

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

.NET Framework 安全性

请参阅

参考

UITechnologyManagerProxy 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间

GetControlSupportLevel

ControlSupport