This document is archived and information here might be outdated.  Recommended version.


IGpDispatch.ListEnvironments Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.ListEnvironments Method

Gets list of GeoProcessor Environments.

[Visual Basic .NET]
Public Function ListEnvironments ( _
    [ByRef pWildcard As Object] _
) As Object
[C#]
public object ListEnvironments (
    ref object pWildcard
);
[C#]

Optional Values

pWildcard   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT ListEnvironments(
  VARIANT* pWildcard,
  IDispatch** ppEnumList
);
[C++]

Parameters pWildcard [optional] pWildcard is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. ppEnumList [out, retval] ppEnumList is a parameter of type IDispatch*

Product Availability

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

See Also

IGpDispatch Interface