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


IGeoProcessor2.AddToolbox Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.AddToolbox Method
ArcGIS Developer Help

IGeoProcessor2.AddToolbox Method

Add a toolbox to the current Geoprocessing session by catalog path.

[Visual Basic .NET]
Public Sub AddToolbox ( _
    ByVal Toolbox As String _
)
[C#]
public void AddToolbox (
    string Toolbox
);
[C++]
HRESULT AddToolbox(
  BSTR Toolbox
);
[C++]
Parameters
Toolbox [in]

Toolbox is a parameter of type BSTR

Product Availability

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

See Also

IGeoProcessor2 Interface