public RibbonCommand AddCommand( string strButtonText, string strActionCommandLine, RibbonIcon icon )
public: RibbonCommand^ AddCommand( String^ strButtonText, String^ strActionCommandLine, RibbonIcon^ icon )
Parameters
- strButtonText
 - Text that is set at a button
 - strActionCommandLine
 - Command line of the action
 - icon
 - Ribbon icon object which are used to create icon based on it
 
Return Value
Created command, or null if nothing was created