The general syntax of these methods is as follows:

Table 1. Syntax
public void AddProgressType(int position, DataTypevalue, int mode,
                         [ int extentValue| MetaType metaData])
            throws Open4GLException
ProgressType

Indicates the ABL data type of the parameter, such as Decimal in AddDecimal( ), for adding a parameter of data type DECIMAL, or DecimalArray in AddDecimalArray( ), for adding a parameter of data type DECIMAL EXTENT.

position

Specifies a 0-based index indicating the parameter position.

DataType

Specifies the .NET data type of the parameter, for example, Decimal, Decimal?, Progress.Open4GL.DecimalHolder, Decimal[], Decimal?[], or Progress.Open4GL.DecimalHolder[]. In the syntax that follows, for any DataType not qualified by a namespace, System is assumed.

value

Specifies a variable that contains the value of the parameter, or null for an OUTPUT parameter.

mode

Specifies the ABL mode (passing direction) of the parameter. This can be one of the following constant values:

  • ParamArrayMode.INPUT
  • ParamArrayMode.INPUT_OUTPUT
  • ParamArrayMode.OUTPUT
extentValue

Specifies the extent of an array for methods that add an array parameter (where ProgressType is appended with Array, as in AddDecimalArray( )).

MetaType

Specifies one of the following classes for methods that add a temp-table or ProDataSet parameter:

metaData

Specifies an instance of MetaType. When mode is ParamArrayMode.OUTPUT and ProgressType is DatasetHandle or TableHandle (passing a dynamic ProDataSet or temp-table parameter), you can set this parameter to null.