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


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

IGpDispatch.ClearEnvironment Method

Clears the value of a given environment.

[Visual Basic .NET]
Public Sub ClearEnvironment ( _
    ByVal env As String _
)
[C#]
public void ClearEnvironment (
    string env
);
[C++]
HRESULT ClearEnvironment(
  BSTR env
);
[C++]
Parameters
env [in]

env is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface