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


IGeoProcessor2.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 > IGeoProcessor2 Interface > IGeoProcessor2.Execute Method
ArcGIS Developer Help

IGeoProcessor2.Execute Method

Execute a tool within the current Geoprocessing session.

[Visual Basic .NET]
Public Function Execute ( _
    ByVal Name As String, _
    ByVal ipValues As IVariantArray, _
    ByVal pTrackCancel As ITrackCancel _
) As IGeoProcessorResult
[C#]
public IGeoProcessorResult Execute (
    string Name,
    IVariantArray ipValues,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT Execute(
  BSTR Name,
  IVariantArray* ipValues,
  ITrackCancel* pTrackCancel
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR ipValues [in]
ipValues is a parameter of type IVariantArray* pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel*

Product Availability

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

See Also

IGeoProcessor2 Interface