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


IGeoProcessor2.ListEnvironments Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  IGpEnumList** ppGpEnumList
);
[C++]

Parameters wildCard [in] wildCard is a parameter of type BSTR ppGpEnumList [out, retval]
ppGpEnumList is a parameter of type IGpEnumList

Product Availability

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

See Also

IGeoProcessor2 Interface

.NET Related Topics

Using environment settings