ScriptEngine..::..RunScript Method
Executes a script and returns the result.
Namespace:
Devesprit.ScripterAssembly: Devesprit Scripter (in Devesprit Scripter.dll)
Syntax
public ScriptResult RunScript( ScriptType scriptType, string script, Object[] parameters )
Public Function RunScript ( _ scriptType As ScriptType, _ script As String, _ parameters As Object() _ ) As ScriptResult
public: ScriptResult^ RunScript( ScriptType^ scriptType, String^ script, array<Object^>^ parameters )
Parameters
- scriptType
- Type: Devesprit.Scripter..::..ScriptType
Type of the script, see ScriptType.
- script
- Type: String
The script.
- parameters
- Type: array<Object>[]()[][]
You can pass a list of parameters to the intended script using this Argument, note that this argument is only for scripts in the form of a Program (see ScriptType).