| Visual Basic (Usage) | Copy Code |
|---|---|
| |
Parameters
- value
- The Command to generate a new CommandUIItem instance.
Return Value
Index position of the new CommandUIItem in the CommandUIItemCollection| C# | Copy Code |
|---|---|
Command cmd = new Command(); | |
The method will add new CommandUIItem to collection with empty parameters. This is shortcut of as example below:
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family