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


IGPToolboxFactory.OpenFromFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPToolboxFactory.OpenFromFile Method

Opens the specified toolbox from a file.

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

Parameters Path [in] Path 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

IGPToolboxFactory Interface