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


IGPComHelper.Execute Method (ArcObjects .NET 10.4 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,
  IGPMessages** Messages
);
[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 Messages [out, retval]
Messages is a parameter of type IGPMessages

Product Availability

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

See Also

IGPComHelper Interface