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


IGPFieldInfo.SetFieldName Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPFieldInfo.SetFieldName Method

Sets the name of the specified field in the field info object.

[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

IGPFieldInfo Interface