Executes the specified tool with the supplied values and options and returns the results.
[Visual Basic .NET] Public Function Execute ( _ ByVal ToolName As String, _ ByVal pValues As IGPValues, _ ByVal pOptions As IGPResultOptions, _ ByVal pEnvValues As IPropertySet _ ) As IGPResult
[C#] public IGPResult Execute ( string ToolName, IGPValues pValues, IGPResultOptions pOptions, IPropertySet pEnvValues );
[C++]
HRESULT Execute(
BSTR ToolName,
IGPValues* pValues,
IGPResultOptions* pOptions,
IPropertySet* pEnvValues,
IGPResult** ppResult
);
[C++]Parameters
ToolName [in] ToolName is a parameter of type BSTR pValues [in]pValues is a parameter of type IGPValues
pOptionspOptions is a parameter of type IGPResultOptions
pEnvValuespEnvValues is a parameter of type IPropertySet
ppResult [out, retval]ppResult is a parameter of type IGPResult
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.