Gets an array of bar items within the bar manager by their report command.
public BarItem GetBarItemsByReportCommand( ReportCommand command )
Public Function GetBarItemsByReportCommand( command As ReportCommand ) As BarItem()
A ReportCommand enumeration value that specifies the command assigned to the bar items being sought.
An array of BarItem objects that represent the bar items which are associated with the specified report command.
Every End-User Designer command represents either a toolbar button, or a menu item, or both a button and a corresponding menu item in the End-User Designer window. This method searches for all the bar items which execute the specified command (or which are associated with it) and returns an array consisting of these items. If no bar items with the specified command are found, then an empty array will be returned.