ArcObjects Library Reference (Geoprocessing)  

IGPToolCommandHelper.SetToolByName Method

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

[Visual Basic .NET]
Public Sub SetToolByName ( _
    ByVal Toolbox As String, _
    ByVal Tool As String _
)
[C#]
public void SetToolByName (
    string Toolbox,
    string Tool
);
[C++]
HRESULT SetToolByName(
  BSTR Toolbox,
  BSTR Tool
);
[C++]

Parameters

Toolbox [in]   Toolbox is a parameter of type BSTR Tool [in]   Tool is a parameter of type BSTR

Product Availability

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

See Also

IGPToolCommandHelper Interface