Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Macros Interface

Represents the Visual Studio macro recorder.

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

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

The Macros object allows add-ins to programmatically control the macro recorder and manipulate macro recording. It can detect if macros are recording; emit (that is, insert) lines of code in the macro; pause recording, and resume recording.

Community Additions

ADD
Show:
© 2015 Microsoft