ScriptManager TryGetScript Method TIBCO Spotfire 5.5 API Reference
Tries to get a script with the specified scriptName.

Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 11.15.5816.4413 (11.15.5816.4413)
Syntax

public bool TryGetScript(
	string scriptName,
	out ScriptDefinition script
)

Parameters

scriptName
Type: System String
The name of the script to get.
script
Type: Spotfire.Dxp.Application.Scripting ScriptDefinition 
Will be assigned the script with the specified name, or null if no such script is found.

Return Value

Type: Boolean
true if the script is found; otherwise false.
Version Information

Supported in: 5.5, 5.0, 4.5, 4.0, 3.3
See Also