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


IGpFieldInfoObject.FindFieldByNewName Method (ArcObjects .NET 10.5 SDK)
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