The Command_GetTag() function retrieves the tag associated with the specified command or command list.
Command_GetTag(command)
• command – The command for which the tag will be retrieved.
An integer containing the tag for the command.
You can also retrieve the tag for a command or command list if you know the product ID, the form ID that contains the command, and the command ID. There is no compile-time checking when a tag is retrieved this way.