UITechnologyManagerProxy.GetControlSupportLevel 方法

获取此技术管理器的支持级别的元素特定窗口。

框架使用此功能为元素选择正确的技术管理器。

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

语法

声明
Public Overrides Function GetControlSupportLevel ( _
    windowHandle As IntPtr _
) As Integer
public override int GetControlSupportLevel(
    IntPtr windowHandle
)
public:
virtual int GetControlSupportLevel(
    IntPtr windowHandle
) override
abstract GetControlSupportLevel : 
        windowHandle:IntPtr -> int 
override GetControlSupportLevel : 
        windowHandle:IntPtr -> int 
public override function GetControlSupportLevel(
    windowHandle : IntPtr
) : int

参数

返回值

类型:System.Int32
指示级别的整数支持元素将由此技术管理器。值越大越严格支持。

实现

IUITechnologyManager.GetControlSupportLevel(IntPtr)

.NET Framework 安全性

请参见

参考

UITechnologyManagerProxy 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间

ControlSupport