This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoprocessingUI > ESRI.ArcGIS.GeoprocessingUI > Interfaces > IA > IArcToolbox Interface > IArcToolbox.CreateTool Method (ArcObjects .NET 10.5 SDK) |
Creates a new tool in the specified destination (toolbox or toolset).
[Visual Basic .NET] Public Function CreateTool ( _ ByVal type As esriGPToolType, _ ByVal destination As Object, _ ByVal toolExtensionFactory As IGPToolExtensionFactory _ ) As IArray
[C#] public IArray CreateTool ( esriGPToolType type, object destination, IGPToolExtensionFactory toolExtensionFactory );