Creates a new instance of a
CommandUIItem object, using the
Command name identifier and executing parameters.
Initializes new instance of CommandUIItem object, using Command name identifier and executing parameters.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim commandName As String
Dim parameters As String
Dim instance As CommandUIItem(commandName, parameters)
|
Parameters
- commandName
- The name of the Command associated with the UI item instance. This is the command that is executed for the UI item.
The Command name which defiles which command to execute
- parameters
- Additional parameters to be passed to the associated command.
Additional parameters to pass of the command
Requirements
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
See Also