UITechnologyManager.ConvertToThisTechnology 方法

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

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

语法

声明
Public MustOverride Function ConvertToThisTechnology ( _
    elementToConvert As IUITechnologyElement, _
    <OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public abstract IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
    IUITechnologyElement^ elementToConvert, 
    [OutAttribute] int% supportLevel
) abstract
abstract ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement 
public abstract function ConvertToThisTechnology(
    elementToConvert : IUITechnologyElement, 
    supportLevel : int
) : IUITechnologyElement

参数

  • supportLevel
    类型:System.Int32%
    (输出)新技术对提供的元素的支持级别。

返回值

类型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
新元素。

实现

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

.NET Framework 安全性

请参见

参考

UITechnologyManager 类

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空间

IUITechnologyElement