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


IGPFunction.Execute Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPFunction.Execute Method

Executes the geoprocessing function using the given array of parameter values.

[Visual Basic .NET]
Public Sub Execute ( _
    ByVal paramvalues As IArray, _
    ByVal TrackCancel As ITrackCancel, _
    ByVal envMgr As IGPEnvironmentManager, _
    ByVal message As IGPMessages _
)
[C#]
public void Execute (
    IArray paramvalues,
    ITrackCancel TrackCancel,
    IGPEnvironmentManager envMgr,
    IGPMessages message
);
[C++]
HRESULT Execute(
  IArray* paramvalues,
  ITrackCancel* TrackCancel,
  IGPEnvironmentManager* envMgr,
  IGPMessages* message
);
[C++]

Parameters paramvalues [in]
paramvalues is a parameter of type IArray TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel envMgr [in]
envMgr is a parameter of type IGPEnvironmentManager message [in]
message is a parameter of type IGPMessages

Product Availability

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

See Also

IGPFunction Interface