Command.SupportsKeyAssignment

Description

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.

C# Syntax

// get accessor

Boolean rtn = Command.SupportsKeyAssignment;

Examples

JScript Example

/*

	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.");

}

See Also

Command.GetFlag Command.SetFlag