Macros Interface

Definition

Represents the Visual Studio macro recorder.

[System.Runtime.InteropServices.Guid("F9F99155-6D4D-49B1-AD63-C78C3E8A5916")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Macros
Attributes

Remarks

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

Properties

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.

Methods

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.

Applies to