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


IToolboxWorkspace.CreateToolbox Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IToolboxWorkspace.CreateToolbox Method

Creates a new toolbox in the workspace.

[Visual Basic .NET]
Public Function CreateToolbox ( _
    ByVal Name As String, _
    ByVal Alias As String _
) As IGPToolbox
[C#]
public IGPToolbox CreateToolbox (
    string Name,
    string Alias
);
[C++]
HRESULT CreateToolbox(
  BSTR Name,
  BSTR Alias,
  IGPToolbox** Toolbox
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Alias [in] Alias is a parameter of type BSTR Toolbox [out, retval]
Toolbox is a parameter of type IGPToolbox

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IToolboxWorkspace Interface