Macros Macros Macros Macros Macros Macros Interface

Definition

Represents the Visual Studio macro recorder.

public interface class Macros
public interface class Macros
__interface Macros
[System.Runtime.InteropServices.Guid("F9F99155-6D4D-49B1-AD63-C78C3E8A5916")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Macros
type Macros = interface
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 DTE DTE DTE DTE DTE

Gets the top-level extensibility object.

IsRecording IsRecording IsRecording IsRecording IsRecording IsRecording

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

Parent Parent Parent Parent Parent Parent

Gets the immediate parent object of a Macros object.

Methods

EmitMacroCode(String) EmitMacroCode(String) EmitMacroCode(String) EmitMacroCode(String) EmitMacroCode(String) EmitMacroCode(String)

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

Pause() Pause() Pause() Pause() Pause() 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() Resume() Resume() Resume() Resume() Resume()

Resumes macro recording if it has been paused. This method should not be used from within a macro.

Applies to