General syntax for add parameter methods
- Last Updated: March 30, 2020
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
The general syntax of these methods is as follows:
|
- ProgressType
-
Indicates the ABL data type of the parameter, such as
DecimalinAddDecimal( ), for adding a parameter of data typeDECIMAL, orDecimalArrayinAddDecimalArray( ), for adding a parameter of data typeDECIMAL 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?[], orProgress.Open4GL.DecimalHolder[]. In the syntax that follows, for any DataType not qualified by a namespace,Systemis assumed. - value
-
Specifies a variable that contains the value of the parameter, or
nullfor anOUTPUTparameter. - 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 inAddDecimalArray( )). - MetaType
-
Specifies one of the following classes for methods that add a temp-table or ProDataSet parameter:
-
TempTableMetaData— Provides the schema information for temp-table parameters or temp-tables in a ProDataSet. For more information on defining this schema, see Define the schema for a temp-table parameter. -
ProDataSetMetaData— Provides the schema information for ProDataSet parameters. For information on defining the schema for ProDataSet parameters, see Define the schema for a ProDataSet parameter.
- metaData
-
Specifies an instance of MetaType. When mode is
ParamArrayMode.OUTPUTand ProgressType isDatasetHandleorTableHandle(passing a dynamic ProDataSet or temp-table parameter), you can set this parameter tonull.
-