Method CreateMacro
CreateMacro(DIMacroFile?, uint, MacroKind, LazyEncodedString, LazyEncodedString)
Create a macro
DIMacro CreateMacro(DIMacroFile? parentFile, uint line, MacroKind kind, LazyEncodedString name, LazyEncodedString value)
Parameters
parentFileDIMacroFileParent file containing the macro
lineuintSource line number where the macro is defined
kindMacroKindId of macro
nameLazyEncodedStringName of the macro
valueLazyEncodedStringValue of the macro (use String.Empty for Undefine)
Returns
- DIMacro
Newly created macro node