CommandInCycle 属性
描述
返回是否正在执行方法。
语法
ReadOnly Property CommandInCycle As Boolean
返回值
如果正在执行方法,则返回 Boolean 值 True,否则返回 False。
参阅
AsyncMode 属性
CommandInCycle 示例
VB 例:
If m_spel.CommandInCycle Then
MsgBox "A SPEL command is executing, operation aborted"
End If
C# 例:
if (m_spel.CommandInCycle)
MessageBox.Show("SPEL command is executing, operation aborted");