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


IGPToolCommandHelper.SetTool Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolCommandHelper Interface > IGPToolCommandHelper.SetTool Method
ArcGIS Developer Help

IGPToolCommandHelper.SetTool Method

Associates the command object with a particular tool to be executed when the command is invoked.

[Visual Basic .NET]
Public Sub SetTool ( _
    ByVal Tool As IGPTool _
)
[C#]
public void SetTool (
    IGPTool Tool
);
[C++]
HRESULT SetTool(
  IGPTool* Tool
);
[C++]
Parameters
Tool [in]

Tool is a parameter of type IGPTool*

Product Availability

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

See Also

IGPToolCommandHelper Interface