Common Application Framework

CommandBarsCollection.AddCommandBar Method (String, String)

Create and add to the CommandBarCollection a new CommandBar with given Key and associated CommandId.

public abstract CommandBar AddCommandBar(
   string key,
   string commandId
);

Parameters

key
CommandBar key
commandId
Id of the command associated with the CommandBar

Return Value

See Also

CommandBarsCollection Class | Aveva.ApplicationFramework.Presentation Namespace | CommandBarsCollection.AddCommandBar Overload List