Macros.EmitMacroCode(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the line of code to the macro being recorded. This method should not be used from within a macro.
public:
void EmitMacroCode(System::String ^ Code);
public:
void EmitMacroCode(Platform::String ^ Code);
void EmitMacroCode(std::wstring const & Code);
[System.Runtime.InteropServices.DispId(4)]
public void EmitMacroCode (string Code);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member EmitMacroCode : string -> unit
Public Sub EmitMacroCode (Code As String)
- Code
- String
Required. The line of code to add to the macro.
- Attributes
Macros are deprecated. For information about how to use automation in Visual Studio, see FAQ: Converting Add-ins to VSPackage Extensions.