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


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

IGPTool.Execute Method

Executes the tool with the given set of values.

[Visual Basic .NET]
Public Sub Execute ( _
    ByVal paramvalues As IArray, _
    ByVal TrackCancel As ITrackCancel, _
    ByVal pEnvMgr As IGPEnvironmentManager, _
    ByVal Messages As IGPMessages _
)
[C#]
public void Execute (
    IArray paramvalues,
    ITrackCancel TrackCancel,
    IGPEnvironmentManager pEnvMgr,
    IGPMessages Messages
);
[C++]
HRESULT Execute(
  IArray* paramvalues,
  ITrackCancel* TrackCancel,
  IGPEnvironmentManager* pEnvMgr,
  IGPMessages* Messages
);
[C++]
Parameters
paramvalues [in]

paramvalues is a parameter of type IArray* TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel* pEnvMgr [in]
pEnvMgr is a parameter of type IGPEnvironmentManager* Messages [in]
Messages is a parameter of type IGPMessages*

Product Availability

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

See Also

IGPTool Interface