|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolInfos Interface > IGPToolInfos.Insert Method (ArcObjects .NET 10.5 SDK) | 
Adds a tool to the array at the specified index.
[Visual Basic .NET] Public Sub Insert ( _ ByVal Index As Integer, _ ByVal pInfo As IGPToolInfo _ )
[C#] public void Insert ( int Index, IGPToolInfo pInfo );
[C++]
HRESULT Insert(
  long Index,
  IGPToolInfo* pInfo
);
[C++]
Parameters Index [in] Index is a parameter of type long pInfo [in]
pInfo is a parameter of type IGPToolInfo