This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolCommandHelper Interface > IGPToolCommandHelper.SetToolByName Method (ArcObjects .NET 10.4 SDK) |
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