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


ITableFields.FindField Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITableFields Interface > ITableFields.FindField Method
ArcGIS Developer Help

ITableFields.FindField Method

The index of the field with the given name.

[Visual Basic .NET]
Public Function FindField ( _
    ByVal FieldName As String _
) As Integer
[C#]
public int FindField (
    string FieldName
);
[C++]
HRESULT FindField(
  BSTR FieldName
);
[C++]
Parameters
FieldName [in]

FieldName is a parameter of type BSTR

Product Availability

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

See Also

ITableFields Interface