Navigation: Object Model Reference > Macros Collection > Type Property |
|
Returns the type of macros in the collection. Read-only.
Syntax
object.Type As MacroTypeEnum
Arguments
object
An object expression that evaluates to an object in the Applies To list.
The return values are:
Constant |
Value |
Description |
vbldMacroAll |
-1 |
A collection of all unique macros, with highest precedence for macros with same name in multiple collections. |
vbldMacroTemporary |
0 |
All temporary macros (not persisted between session; passed in on the command-line or created or loaded during a build) |
vbldMacroProject |
1 |
All project macros (saved with project file). |
vbldMacroGlobal |
2 |
All global macros. By default, global macros are loaded/saved from/to VisBuildPro.macros in the configuration files path. |
vbldMacroSystem |
3 |
All system macros (initialized internally; read-only) |
See Also
Applies to Macros collection, Macro object