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


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

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
);
[C++]
Parameters
Path [in]

Path is a parameter of type BSTR

Product Availability

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

See Also

IGPToolboxFactory Interface