This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpFieldInfoObject Interface > IGpFieldInfoObject.AddField Method (ArcObjects .NET 10.5 SDK) |
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