ArcObjects Library Reference (Geoprocessing)  

IGPEnvironment Interface

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

Product Availability

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

When To Use

The IGPEnvironment interface is used to define the properties and methods of a geoprocessing environment setting. Examples are the Extent, Current Workspace, and the Output Coordinate System. For more detail, please refer to the technical document: Building Geoprocessing Function Tools.

Members

Description
Method AddDependency Adds the name of an environment that the geoprocessing environment is dependent on.
Read/write property Category Category of the geoprocessing environment.
Read/write property ControlCLSID Class identifier (CLSID) of the ActiveX control to use to edit the geoprocessing environment.
Read/write property DataType Data type of acceptable values of the geoprocessing environment.
Read/write property Dependencies Enumeration of environment names the geoprocessing environment is dependent on.
Read/write property DisplayName Display name of the geoprocessing environment.
Read/write property DisplayOrder Display order of the geoprocessing environment.
Read/write property Domain Domain of the geoprocessing environment.
Read/write property MetadataFile Name of the (XML) file containing the default metadata for this environment object.
Read/write property Name Name of the geoprocessing environment.
Read/write property Value Value of the geoprocessing environment.

CoClasses that implement IGPEnvironment

CoClasses and Classes Description
GPEnvironment Geoprocessing Environment object.