Creates a copy of this ScriptDefinition instance with a new name. Can be chained with other
.With methods. i.e.
var newScriptDefinition = oldScriptDefinition.WithName("New Name").WithScriptCode("import System");
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 WithName( string name )
Parameters
- name
- Type: SystemString
The new name of the ScriptDefinition
Return Value
Type: ScriptDefinitionA copy of this ScriptDefinition object with a new name
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