Parameters
- name
- The unique name of the command within the calling Extension
- label
- The end-user display label in menus and lists
- toolTip
- An extended tooltip for this command
- isEnabled
- Specify whether command should be made available or not.
If there is no registered command for the calling implementation with the specified name an exception will be thrown.
If the command has a hierarchal name (with one or more period to designate each level of the hierarchy) the Label will be parsed to update just the command itself, not the label of the intervening menus. This means that if the original label for a two-tier menu was "Top Level\Command Label" then "New Top Level\New Command Label" will result in just the command being re-labeled to "New Command Label".
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2