This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPFieldInfo Interface > IGPFieldInfo.AddField Method (ArcObjects .NET 10.4 SDK) |
Add a field to the field info object.
[Visual Basic .NET] Public Sub AddField ( _ ByVal fieldIndex As Integer, _ ByVal FieldName As String, _ ByVal newFieldName As String, _ ByVal Visible As Boolean, _ ByVal split As esriGPFieldInfoSplitRule _ )
[C#] public void AddField ( int fieldIndex, string FieldName, string newFieldName, bool Visible, esriGPFieldInfoSplitRule split );
[C++]
HRESULT AddField(
long fieldIndex,
BSTR FieldName,
BSTR newFieldName,
VARIANT_BOOL Visible,
esriGPFieldInfoSplitRule split
);
[C++]
Parameters fieldIndex [in] fieldIndex is a parameter of type long 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 VARIANT_BOOL split [in]
split is a parameter of type esriGPFieldInfoSplitRule