Creates a new tool in the toolbox.
[Visual Basic .NET] Public Function CreateTool ( _ ByVal Type As esriGPToolType, _ ByVal Name As String, _ ByVal DisplayName As String, _ ByVal Description As String, _ ByVal ToolCategory As String, _ ByVal ToolExtension As IGPToolExtension _ ) As IGPTool
[C#] public IGPTool CreateTool ( esriGPToolType Type, string Name, string DisplayName, string Description, string ToolCategory, IGPToolExtension ToolExtension );
[C++]
HRESULT CreateTool(
esriGPToolType Type,
BSTR Name,
BSTR DisplayName,
BSTR Description,
BSTR ToolCategory,
IGPToolExtension* ToolExtension,
IGPTool** Tool
);
[C++]Parameters
Type [in]Type is a parameter of type esriGPToolType
Name [in] Name is a parameter of type BSTR DisplayName [in] DisplayName is a parameter of type BSTR Description [in] Description is a parameter of type BSTR ToolCategory [in] ToolCategory is a parameter of type BSTR ToolExtension [in]ToolExtension is a parameter of type IGPToolExtension
Tool [out, retval]Tool is a parameter of type IGPTool
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.