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


IGpFieldInfoObject.AddField Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpFieldInfoObject.AddField Method

Add a field.

[Visual Basic .NET]
Public Sub AddField ( _
    ByVal FieldName As String, _
    ByVal newFieldName As String, _
    ByVal Visible As String, _
    ByVal SplitRule As String _
)
[C#]
public void AddField (
    string FieldName,
    string newFieldName,
    string Visible,
    string SplitRule
);
[C++]
HRESULT AddField(
  BSTR FieldName,
  BSTR newFieldName,
  BSTR Visible,
  BSTR SplitRule
);
[C++]

Parameters FieldName [in] FieldName is a parameter of type BSTR newFieldName [in] newFieldName is a parameter of type BSTR Visible [in] Visible is a parameter of type BSTR SplitRule [in] SplitRule is a parameter of type BSTR

Product Availability

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

See Also

IGpFieldInfoObject Interface