Click or drag to resize

OperationArgumentsGetConversionArgs Method

Linkar Framework for .NET and Core


Compose the 3 items (CUSTOMVARS, OPTIONS and INPUTDATA) of the Conversion operation.

Namespace: Linkar.Functions
Assembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax
public static string GetConversionArgs(
	string expression,
	string code,
	CONVERSION_TYPE conversionOptions,
	string customVars
)

Parameters

expression  String
The data or expression to convert. May include MV marks (value delimiters), in which case the conversion will execute in each value obeying the original MV mark.
code  String
The conversion code. Must obey the Database conversions specifications.
conversionOptions  CONVERSION_TYPE
Indicates the conversion type, input or output: INPUT=ICONV(); OUTPUT=OCONV()
customVars  String
Free text sent to the database allows management of additional behaviours in SUB.LK.MAIN.CONTROL.CUSTOM, which is called when this parameter is set.

Return Value

String
A string ready to be used in Linkar.ExecuteDirectOperation and Linkar.ExecutePersistentOperation.
See Also