com.esri.arcgis.geoprocessing
Interface IGPVariableManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPEnvironmentManager

public interface IGPVariableManager
extends Serializable

Provides access to GPVariableManager objects.

Product Availability

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


Method Summary
 void add(IGPVariable pVariable)
          Adds a variable.
 IGPVariable find(String name)
          Finds a variable.
 IArray getVariables()
          Returns an array of all of the variables.
 void remove(String name)
          Removes a variable.
 void removeAll()
          Removes all variables.
 

Method Detail

add

void add(IGPVariable pVariable)
         throws IOException,
                AutomationException
Adds a variable.

Product Availability

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

Parameters:
pVariable - A reference to a com.esri.arcgis.geodatabase.IGPVariable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(String name)
            throws IOException,
                   AutomationException
Removes a variable.

Product Availability

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

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all variables.

Product Availability

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

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

find

IGPVariable find(String name)
                 throws IOException,
                        AutomationException
Finds a variable.

Product Availability

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

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPVariable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariables

IArray getVariables()
                    throws IOException,
                           AutomationException
Returns an array of all of the variables.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.