|  | 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 > IGeoProcessor Interface > IGeoProcessor.ListTools Method (ArcObjects .NET 10.5 SDK) | 
Return the list of tools within the current Geoprocessing session.
[Visual Basic .NET] Public Function ListTools ( _ ByVal wildCard As String _ ) As IGpEnumList
[C#] public IGpEnumList ListTools ( string wildCard );
[C++]
HRESULT ListTools(
  BSTR wildCard,
  IGpEnumList** ppGpEnumList
);
[C++]
Parameters wildCard [in] wildCard is a parameter of type BSTR ppGpEnumList [out, retval]
ppGpEnumList is a parameter of type IGpEnumList