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


IGPComHelper.GetParameterName Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPComHelper.GetParameterName Method

Get the parameter name for a given tool and index.

[Visual Basic .NET]
Public Function GetParameterName ( _
    ByVal ToolName As String, _
    ByVal Index As Integer _
) As String
[C#]
public string GetParameterName (
    string ToolName,
    int Index
);
[C++]
HRESULT GetParameterName(
  BSTR ToolName,
  long Index,
  BSTR* paramName
);
[C++]

Parameters ToolName [in] ToolName is a parameter of type BSTR Index [in] Index is a parameter of type long paramName [out, retval] paramName is a parameter of type BSTR

Product Availability

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

See Also

IGPComHelper Interface