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


IGPTool.Execute Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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