This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPFieldInfo Interface > IGPFieldInfo.FindFieldByName Method (ArcObjects .NET 10.4 SDK) |
Returns the index of the field in the field info object matching given the field name.
[Visual Basic .NET] Public Function FindFieldByName ( _ ByVal FieldName As String _ ) As Integer
[C#] public int FindFieldByName ( string FieldName );
[C++]
HRESULT FindFieldByName(
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