AsyncMode 属性

描述
设置/返回异步执行模式。

语法
Property AsyncMode As Boolean

默认值
False

返回值
如果异步模式启用,则返回 Boolean 值 True,否则返回 False。

参阅
使用 AsyncMode , WaitCommandComplete 方法

AsyncMode 示例
VB 例:

With m_spel  
  .AsyncMode = True  
  .Jump("pick")  
  .Delay(500)  
  .On(1)  
  .WaitCommandComplete()  
End With  

C# 例:

m_spel.AsyncMode = true;  
m_spel.Jump("pick");  
m_spel.Delay(500);  
m_spel.On(1);  
m_spel.WaitCommandComplete();