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


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

IGPComHelper.Execute Method

Executes the specified tool.

[Visual Basic .NET]
Public Function Execute ( _
    ByVal ToolName As String, _
    ByVal params As IPropertySet, _
    ByVal TrackCancel As ITrackCancel _
) As IGPMessages
[C#]
public IGPMessages Execute (
    string ToolName,
    IPropertySet params,
    ITrackCancel TrackCancel
);
[C++]
HRESULT Execute(
  BSTR ToolName,
  IPropertySet* params,
  ITrackCancel* TrackCancel
);
[C++]

Parameters ToolName [in]
ToolName is a parameter of type BSTR params [in]
params is a parameter of type IPropertySet* TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel*

Product Availability

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

See Also

IGPComHelper Interface