Description
Represent the output parameters of a GP task and their properties and values. ParameterValue has no constructor.
Samples
Search for
samples that use this class.
Class hierarchy
esri.tasks.ParameterValue
Properties
| dataType |
String
|
Specifies the type of data for the parameter. It can have one of the following values: "GPString", "GPDouble", "GPLong", "GPBoolean", "GPDate", "GPLinearUnit", "GPDataFile", "GPRasterData", "GPRecordSet", "GPRasterDataLayer", "GPFeatureRecordSetLayer","GPMultiValue". |
| paramName |
String
|
Unique name of the parameter. |
| value |
Object
|
The value of the parameter. The data structure of this value depends on the dataType. |
Properties Detail
Specifies the type of data for the parameter. It can have one of the following values: "GPString", "GPDouble", "GPLong", "GPBoolean", "GPDate", "GPLinearUnit", "GPDataFile", "GPRasterData", "GPRecordSet", "GPRasterDataLayer", "GPFeatureRecordSetLayer","GPMultiValue".
Unique name of the parameter.
The value of the parameter. The data structure of this value depends on the
dataType.
|
GPString
|
String
|
"MyString"
|
|
GPDouble
|
Number (float)
|
12.56
|
|
GPLong
|
Number (int)
|
345
|
|
GPBoolean
|
Boolean
|
true
|
|
GPDate
|
Date
|
|
|
GPLinearUnit
|
<LinearUnit>
|
|
|
GPDataFile
|
<DataFile>
|
|
|
GPRasterData
|
<RasterData>
|
|
|
GPRecordSet
|
<FeatureSet>
|
|
|
GPRasterDataLayer
|
<RasterData>
|
|
|
GPFeatureRecordSetLayer
|
<FeatureSet>
|
|
|
GPMultiValue
|
String[]
|
["Parcels", "Street Lights"]
|