Macros::EmitMacroCode Method (String^)

 

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

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

void EmitMacroCode(
	String^ Code
)

Parameters

Code
Type: System::String^

Required. The line of code to add to the 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: