ArcObjects Library Reference (Geoprocessing)  

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