RunLegacyReflectionMacro Method (IMacro)
In This Topic
Runs a legacy Reflection macro.
Syntax
'Declaration
Sub RunLegacyReflectionMacro( _
ByVal As String, _
ByVal As String _
)
'Usage
Dim instance As IMacro
Dim macroName As String
Dim macroData As String
instance.RunLegacyReflectionMacro(macroName, macroData)
void RunLegacyReflectionMacro(
string ,
string
)
Parameters
- macroName
- Specifies the name of the macro to run. An error occurs if there is no macro of this name in the current settings file or in any referenced files. This value can be up to 255 characters long. If you have more than one macro with the same name in different files, precede the macro name with the project name and a period to correctly identify the macro. For example, "SharedMacros.Login" identifies the "Login" macro in the "SharedMacros" settings file.
- macroData
- An optional string to pass information to the macro.
See Also