Macros Interface

 

Represents the Visual Studio macro recorder.

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

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

NameDescription
System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyIsRecording

Returns whether the macro recorder is currently recording actions. This property should not be used from within a macro.

System_CAPS_pubpropertyParent

Gets the immediate parent object of a Macros object.

NameDescription
System_CAPS_pubmethodEmitMacroCode(String^)

Writes the line of code to the macro being recorded. This method should not be used from within a macro.

System_CAPS_pubmethodPause()

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.

System_CAPS_pubmethodResume()

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.

Return to top
Show: