Keyboard.SendKeysDelay 属性

获取或设置两次向应用程序发送击键之间等待的时间。

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

语法

声明
Public Shared Property SendKeysDelay As Integer
    Get
    Set
public static int SendKeysDelay { get; set; }
public:
static property int SendKeysDelay {
    int get ();
    void set (int value);
}
static member SendKeysDelay : int with get, set
static function get SendKeysDelay () : int
static function set SendKeysDelay (value : int)

属性值

类型:System.Int32
两次发送击键之间等待的时间。

.NET Framework 安全性

请参见

参考

Keyboard 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间