WaitCommandComplete方法
描述
此命令會等待以AsyncMode = True開頭的命令完成。
語法
Sub WaitCommandComplete ()
另請參閱
AsyncMode屬性
WaitCommandComplete範例
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();