Executes the specified script.
Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
public void ExecuteScript( string scriptCode, ScriptLanguage scriptLanguage, IDictionary<string, Object> scriptArguments, Stream outputStream )
Parameters
- scriptCode
- Type: SystemString
The IronPython script to execute. - scriptLanguage
- Type: Spotfire.Dxp.Application.ScriptingScriptLanguage
The script language. Use one of the IronPython constants defined in ScriptLanguage. - scriptArguments
- Type: System.Collections.GenericIDictionaryString, Object
A mapping of script variable names to values, or null. Pass null to execute the script with an empty scope. - outputStream
- Type: System.IOStream
The stream to which the output of the script is written, or null. Pass null to discard the output.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | If script support is not available in the current distribution. |
Remarks
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also