com.esri.arcgis.geoprocessing
Interface IGPVariant

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPBoolean, GPDate, GPDouble, GPINFOExpression, GPLong, GPSQLExpression, GPString, GPVariant

public interface IGPVariant
extends Serializable

Provides access to the properties/methods of a geoprocessing variant object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 Object getVariant()
          The value of the geoprocessing value object as a variant.
 void setVariant(Object value)
          The value of the geoprocessing value object as a variant.
 

Method Detail

getVariant

Object getVariant()
                  throws IOException,
                         AutomationException
The value of the geoprocessing value object as a variant.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVariant

void setVariant(Object value)
                throws IOException,
                       AutomationException
The value of the geoprocessing value object as a variant.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Parameters:
value - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.