Autodesk.AutoCAD.Customization Namespace > PopMenuItem Class > PopMenuItem Constructor > PopMenuItem(PopMenu) Constructor
PopMenuItem.PopMenuItem(PopMenu) Constructor
Description

 

This constructor creates a menu item with no macro assigned, which is the equivalent of a separator. Assigning a MenuMacro converts the separator to a regular menu item.

Visual Basic
Public Sub New(
    parent As PopMenu
)
C#
public PopMenuItem(
    PopMenu parent
);
Parameters
Parameters 
Description 
PopMenu parent 
Input the parent. 
Links
   Comments?