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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。