KeyboardAction 构造函数

包括受保护的成员
包括继承的成员

初始化 KeyboardAction 类的新实例。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
公共方法 KeyboardAction() 为 XML 序列化或反序列化初始化 KeyboardAction 类的新实例。
公共方法 KeyboardAction(KeyActionType, Keys, String) 使用提供的键事件类型、按下的键和该键生成的值初始化 KeyboardAction 类的新实例。
公共方法 KeyboardAction(UITechnologyElement, KeyActionType, Keys, String) 使用提供的元素、键事件类型、按下的键和该键生成的值初始化 KeyboardAction 类的新实例。

页首

请参见

参考

KeyboardAction 类

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