Returns a Boolean value
indicating whether this command an be used in batch mode (false) or
not (true. This property is a shortcut for Command.GetFlag.
Note: This property is read-only.
// get accessor Boolean rtn = Command.CannotBeUsedInBatch; |
/* See if a command can be used in batch mode. */ var oCmd = Commands.Item("Apply Operator"); if ( true == oCmd.CannotBeUsedInBatch ) { LogMessage(oCmd.Name + " cannot be used in batch mode."); } else { LogMessage(oCmd.Name + " can be used in batch mode."); } |