XSIFactory.CreateScriptedOpFromFile
 
 
 

XSIFactory.CreateScriptedOpFromFile

Introduced

v4.0

Description

Creates a blank scripted operator with the code specified in a file.

C# Syntax

CustomOperator XSIFactory.CreateScriptedOpFromFile( String Name, String FileName, String Language );

Scripting Syntax

oReturn = XSIFactory.CreateScriptedOpFromFile( Name, FileName, [Language] );

Return Value

CustomOperator

Parameters

Parameter Type Description
Name String The name for the new scripted operator.

Default Value: ""

FileName String The file containing the scripting logic that implements the scripted operator.

Default Value: ""

Language String The scripting language to use for the logic; for example "JScript"

Default Value: The current scripting language user preference