Method CreateMacro
CreateMacro(DIMacroFile, UInt32, MacroKind, String, String)
Create a macro
Declaration
public DIMacro CreateMacro(DIMacroFile parentFile, uint line, MacroKind kind, string name, string value)
Parameters
public DIMacro CreateMacro(DIMacroFile parentFile, uint line, MacroKind kind, string name, string value)
DIMacroFile | parentFile | Parent file containing the macro |
UInt32 | line | Source line number where the macro is defined |
MacroKind | kind | Kind of macro |
String | name | Name of the macro |
String | value | Value of the macro (use String.Empty for Undefine) |
Returns
DIMacro | Newly created macro node |