AVEVA OMI Software Developer Kit



The command.
The command UI.
AddSimpleCommand Method
Adds a simple command.
Syntax
'Declaration
 
Function AddSimpleCommand( _
   ByVal command As ICommand, _
   ByVal commandUI As IAppCommandUI _
) As IAppCommandManagerBase
'Usage
 
Dim instance As IAppCommandManagerBase
Dim command As ICommand
Dim commandUI As IAppCommandUI
Dim value As IAppCommandManagerBase
 
value = instance.AddSimpleCommand(command, commandUI)

Parameters

command
The command.
commandUI
The command UI.

Return Value

The command manager
Requirements

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

See Also