ArcObjects Library Reference (Geoprocessing)  

IGpFieldInfoObject.FindFieldByNewName Method

Find a field index by new name.

[Visual Basic .NET]
Public Function FindFieldByNewName ( _
    ByVal fieldName As String _
) As Integer
[C#]
public int FindFieldByNewName (
    string fieldName
);
[C++]
HRESULT FindFieldByNewName(
  BSTR fieldName,
  long* Index
);
[C++]

Parameters

fieldName [in]   fieldName is a parameter of type BSTR Index [out, retval]   Index is a parameter of type long

Product Availability

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

See Also

IGpFieldInfoObject Interface