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


IGeoProcessor2.Usage 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.Usage Method
ArcGIS Developer Help

IGeoProcessor2.Usage Method

Returns the command line usage of a given tool by name.

[Visual Basic .NET]
Public Function Usage ( _
    ByVal Method As String _
) As String
[C#]
public string Usage (
    string Method
);
[C++]
HRESULT Usage(
  BSTR Method
);
[C++]
Parameters
Method [in]

Method is a parameter of type BSTR

Product Availability

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

See Also

IGeoProcessor2 Interface