Macros Interface
Represents the Visual Studio macro recorder.
Assembly: EnvDTE (in EnvDTE.dll)
| Name | Description | |
|---|---|---|
![]() | DTE | Gets the top-level extensibility object. |
![]() | IsRecording | Returns whether the macro recorder is currently recording actions. This property should not be used from within a macro. |
![]() | Parent | Gets the immediate parent object of a Macros object. |
| Name | Description | |
|---|---|---|
![]() | EmitMacroCode(String^) | Writes the line of code to the macro being recorded. This method should not be used from within a macro. |
![]() | Pause() | Pauses the macro recorder so that no code is written to the macro currently being recorded. This method should not be used from within a macro. |
![]() | Resume() | Resumes macro recording if it has been paused. This method should not be used from within a macro. |
Macros are deprecated. For information about how to use automation in Visual Studio, see FAQ: Converting Add-ins to VSPackage Extensions.

