This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFields Interface > ILayerFields.FindField Method (ArcObjects .NET 10.4 SDK) |
Returns the index of the field with the specified name.
[Visual Basic .NET] Public Function FindField ( _ ByVal FieldName As String _ ) As Integer
[C#] public int FindField ( string FieldName );
[C++]
HRESULT FindField(
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