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


IGeoProcessor2.ListEnvironments Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.ListEnvironments Method
ArcGIS Developer Help

IGeoProcessor2.ListEnvironments Method

Return the list of environments (properties) within the current Geoprocessing session.

[Visual Basic .NET]
Public Function ListEnvironments ( _
    ByVal wildCard As String _
) As IGpEnumList
[C#]
public IGpEnumList ListEnvironments (
    string wildCard
);
[C++]
HRESULT ListEnvironments(
  BSTR wildCard
);
[C++]
Parameters
wildCard [in]

wildCard is a parameter of type BSTR

Product Availability

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

See Also

IGeoProcessor2 Interface