Macros Interface

Represents the Visual Studio macro recorder.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

[GuidAttribute("F9F99155-6D4D-49B1-AD63-C78C3E8A5916")]
public interface Macros

The Macros type exposes the following members.

  NameDescription
Public propertyDTEGets the top-level extensibility object.
Public propertyIsRecordingReturns whether the macro recorder is currently recording actions. This property should not be used from within a macro.
Public propertyParentGets the immediate parent object of a Macros object.
Top

  NameDescription
Public methodEmitMacroCodeWrites the line of code to the macro being recorded. This method should not be used from within a macro.
Public methodPausePauses 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.
Public methodResumeResumes macro recording if it has been paused. This method should not be used from within a macro.
Top

Macros are deprecated. For information about how to use automation in Visual Studio, see FAQ: Converting Add-ins to VSPackage Extensions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft