Attachmate.Reflection.Emulation.Common Namespace > Macro Class : StopMacroRecording Method |
'Declaration
Public Sub StopMacroRecording( _ ByVal saveLocation As MacroDestinationOption, _ ByVal macroName As String _ )
'Usage
Dim instance As Macro Dim saveLocation As MacroDestinationOption Dim macroName As String instance.StopMacroRecording(saveLocation, macroName)
public void StopMacroRecording( MacroDestinationOption saveLocation, string macroName )
Exception | Description |
---|---|
System.ArgumentException | Thrown if the macro name is null, empty, or contains invalid characters. |
class Program { private Macro mac; public void StopRecording() { mac.StopMacroRecording(MacroDestinationOption.Clipboard,""); } }