KeyboardAction 构造函数

 

初始化 KeyboardAction 类的新实例。

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

重载列表

名称 说明
System_CAPS_pubmethod KeyboardAction()

为 XML 序列化或反序列化初始化 KeyboardAction 类的新实例。

System_CAPS_pubmethod KeyboardAction(KeyActionType, Keys, String)

使用提供的键事件类型、按下的键和该键生成的值初始化 KeyboardAction 类的新实例。

System_CAPS_pubmethod KeyboardAction(UITechnologyElement, KeyActionType, Keys, String)

使用提供的元素、键事件类型、按下的键和该键生成的值初始化 KeyboardAction 类的新实例。

请参阅

KeyboardAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首