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


IGpFieldInfoObject.SetFieldName Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpFieldInfoObject.SetFieldName Method

Set the field name by index.

[Visual Basic .NET]
Public Sub SetFieldName ( _
    ByVal Index As Integer, _
    ByVal Name As String _
)
[C#]
public void SetFieldName (
    int Index,
    string Name
);
[C++]
HRESULT SetFieldName(
  long Index,
  BSTR Name
);
[C++]

Parameters Index [in] Index is a parameter of type long Name [in] Name is a parameter of type BSTR

Product Availability

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

See Also

IGpFieldInfoObject Interface