Class: ParameterValueE-mail This Topic Printable Version Give Us Feedback

Description

Represent the output parameters of a GP task and their properties and values. ParameterValue has no constructor.

Class hierarchy

esri.tasks.ParameterValue

Properties

Property Type Description
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".
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

<String> dataType

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".

<String> paramName

Unique name of the parameter.

<Object> value

The value of the parameter. The data structure of this value depends on the dataType.

Data Type JavaScript Type Example
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>