System.Windows.Forms.CommandBarItemCollection.AddMenu C# (CSharp) 메소드

AddMenu() 공개 메소드

public AddMenu ( string text ) : System.Windows.Forms.CommandBarMenu
text string
리턴 System.Windows.Forms.CommandBarMenu
        public CommandBarMenu AddMenu(string text)
        {
            CommandBarMenu menu = new CommandBarMenu(text);
            this.Add(menu);
            return menu;
        }

Same methods

CommandBarItemCollection::AddMenu ( Image image, string text ) : System.Windows.Forms.CommandBarMenu
CommandBarItemCollection::AddMenu ( Image image, string text, EventHandler dropDownHandler ) : System.Windows.Forms.CommandBarMenu
CommandBarItemCollection::AddMenu ( string text, EventHandler dropDownHandler ) : System.Windows.Forms.CommandBarMenu