This document is archived and information here might be outdated. Recommended version. |
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
);
[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*