ScriptDefinitionWithLanguage Method

Spotfire 14.3 API Reference
Creates a copy of this ScriptDefinition instance with an updated ScriptLanguage. Can be chained with other .With methods. i.e.
var newScriptDefinition = oldScriptDefinition.WithName("New Name").WithLanguage(ScriptLanguage.IronPython277);

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

C#
public ScriptDefinition WithLanguage(
	ScriptLanguage language
)

Parameters

language
Type: Spotfire.Dxp.Application.ScriptingScriptLanguage
The updated ScriptLanguage

Return Value

Type: ScriptDefinition
A copy of this ScriptDefinition object with an updated ScriptLanguage
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0
See Also

Reference