Returns a Boolean value
indicating whether this command supports key assignment (true) or
not (false). This property is a shortcut for Command.GetFlag.
Note: This property is read-only.
// get accessor Boolean rtn = Command.SupportsKeyAssignment; |
/*
See if a command supports key assignment
*/
var oCmd = Commands.Item("Apply Operator");
if ( true == oCmd.SupportsKeyAssignment )
{
LogMessage(oCmd.Name + " supports key assignment.");
}
else
{
LogMessage(oCmd.Name + " does not support key assignment.");
}
|