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


IGpFieldMapObject.AddInputField Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpFieldMapObject.AddInputField Method

Add a sub-field.

[Visual Basic .NET]
Public Sub AddInputField ( _
    ByVal Table As String, _
    ByVal Field As String, _
    [ByRef pStartTextValue As Object], _
    [ByRef pEndTextValue As Object] _
)
[C#]
public void AddInputField (
    string Table,
    string Field,
    ref object pStartTextValue,
    ref object pEndTextValue
);
[C#]

Optional Values

pStartTextValue   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
pEndTextValue   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT AddInputField(
  BSTR Table,
  BSTR Field,
  VARIANT* pStartTextValue,
  VARIANT* pEndTextValue
);
[C++]

Parameters Table [in] Table is a parameter of type BSTR Field [in] Field is a parameter of type BSTR pStartTextValue [optional] pStartTextValue is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. pEndTextValue [optional] pEndTextValue is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

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

See Also

IGpFieldMapObject Interface