This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/ParameterValue.html.
Packagecom.esri.ags.tasks.supportClasses
Classpublic class ParameterValue
InheritanceParameterValue Inheritance flash.events.EventDispatcher

Represents the output parameters of several geoprocessing tasks and their properties and values.

See also

DataFile
ExecuteResult
com.esri.ags.tasks.Geoprocessor
com.esri.ags.events.GeoprocessorEvent
Concepts - Geoprocessing tasks


Public Properties
 PropertyDefined By
  dataType : String
Specifies the type of data for the parameter.
ParameterValue
  paramName : String
Unique name of the parameter.
ParameterValue
  value : Object
The value of the parameter.
ParameterValue
Property Detail
dataTypeproperty
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".

This property can be used as the source for data binding.


Implementation
    public function get dataType():String
    public function set dataType(value:String):void
paramNameproperty 
paramName:String

Unique name of the parameter.

This property can be used as the source for data binding.


Implementation
    public function get paramName():String
    public function set paramName(value:String):void
valueproperty 
value:Object

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

ArcGIS Server Data TypeFlex TypeExample
GPStringString"MyString"
GPDoubleNumber (floating)12.56
GPLongNumber (integer)345
GPBooleanBooleantrue
GPDateDate 
GPLinearUnit<LinearUnit> 
GPDataFile<DataFile> 
GPRasterData<RasterData> 
GPRecordSet<FeatureSet> 
GPRasterDataLayer<RasterData> 
GPFeatureRecordSetLayer<FeatureSet> 

This property can be used as the source for data binding.


Implementation
    public function get value():Object
    public function set value(value:Object):void