Autodesk.AutoCAD.Customization Namespace > MenuAccelerator Class > MenuAccelerator Constructor > MenuAccelerator(MenuMacro, MenuGroup, int) Constructor
MenuAccelerator.MenuAccelerator(MenuMacro, MenuGroup, int) Constructor
Description

 

This constructor creates a new MenuAccelerator and sets its index.

Visual Basic
Public Sub New(
    menuMacro As MenuMacro, 
    parent As MenuGroup, 
    index As Integer
)
C#
public MenuAccelerator(
    MenuMacro menuMacro, 
    MenuGroup parent, 
    int index
);
Parameters
Parameters 
Description 
MenuMacro menuMacro 
Input the macro to assign to this accelerator key. 
MenuGroup parent 
Input the MenuGroup to which the new accelerator will be appended. 
int index 
Input the index to insert object in parent collection. 
Links
   Comments?