Tries to get a script with the specified scriptName.
Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax
C#
public bool TryGetScript( string scriptName, out ScriptDefinition script )
Parameters
- scriptName
- Type: SystemString
The name of the script to get. - script
- Type: Spotfire.Dxp.Application.ScriptingScriptDefinition
Will be assigned the script with the specified name, or null if no such script is found.
Return Value
Type: Booleantrue if the script is found; otherwise false.
Version Information
Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also