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