This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPComHelper Interface > IGPComHelper.Execute Method (ArcObjects .NET 10.4 SDK) |
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