Autodesk.AutoCAD.Customization Namespace > PopMenu Class > PopMenu Constructor > PopMenu(string, StringCollection, string, MenuGroup) Constructor
PopMenu.PopMenu(string, StringCollection, string, MenuGroup) Constructor
Description

 

Constructor.

Visual Basic
Public Sub New(
    name As string, 
    aliasList As StringCollection, 
    tag As string, 
    menuGroup As MenuGroup
)
C#
public PopMenu(
    string name, 
    StringCollection aliasList, 
    string tag, 
    MenuGroup menuGroup
);
Parameters
Parameters 
Description 
string name 
Input the name of this PopMenu. 
StringCollection aliasList 
Input the list of aliases for the PopMenu. If you intend for this menu to be a sub-menu of another PopMenu, aliasList should be null. 
string tag 
Input the UID of this PopMenu. 
MenuGroup menuGroup 
Input the parent. 
Remarks

PopMenus with any aliases cannot be referenced for use as sub-menus from other PopMenus.

Links
   Comments?