public RibbonCommand AddCommand( RibbonCommandInfo ribbonCommandInfo, RibbonIcon icon )
public: RibbonCommand^ AddCommand( RibbonCommandInfo^ ribbonCommandInfo, RibbonIcon^ icon )
Parameters
- ribbonCommandInfo
- Object which are used as a template for a new ribbon command
- icon
- Ribbon icon object which are used to create icon based on it