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


IArcToolbox.CreateTool Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoprocessingUI)  

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