SendKeysAction 构造函数 (UITechnologyElement)

使用提供的 UI 元素初始化 SendKeysAction 类的新实例。

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

语法

声明
Public Sub New ( _
    element As UITechnologyElement _
)
public SendKeysAction(
    UITechnologyElement element
)
public:
SendKeysAction(
    UITechnologyElement^ element
)
new : 
        element:UITechnologyElement -> SendKeysAction
public function SendKeysAction(
    element : UITechnologyElement
)

参数

备注

发送键不能用于模拟测试录制。

.NET Framework 安全性

请参见

参考

SendKeysAction 类

SendKeysAction 重载

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

UITechnologyElement