This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolCommandHelper Interface > IGPToolCommandHelper.SetTool 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 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