Autodesk.AutoCAD.Customization Namespace > MenuMacro Class > MenuMacro Constructor > MenuMacro(MacroGroup, string, string, string) Constructor
MenuMacro.MenuMacro(MacroGroup, string, string, string) Constructor
Description

 

Constructor.

Visual Basic
Public Sub New(
    parent As MacroGroup, 
    name As string, 
    command As string, 
    tag As string
)
C#
public MenuMacro(
    MacroGroup parent, 
    string name, 
    string command, 
    string tag
);
Parameters
Parameters 
Description 
MacroGroup parent 
Input the parent MacroGroup
string name 
Input the name which will be displayed in the command list. 
string command 
Input the command macro string. 
string tag 
Input the unique ID for the macro. 
Links
   Comments?