This document is archived and information here might be outdated.  Recommended version.


IArcToolbox.CreateTool Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoprocessingUI > ESRI.ArcGIS.GeoprocessingUI > Interfaces > IA > IArcToolbox Interface > IArcToolbox.CreateTool Method
ArcGIS Developer Help

IArcToolbox.CreateTool Method

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
);

Product Availability

Available with ArcGIS Desktop.

See Also

IArcToolbox Interface