ArcGIS Pro 2.6 API Reference Guide
FindField Method (RealtimeRow)

ArcGIS.Core.Data.Realtime Namespace > RealtimeRow Class : FindField Method
The name of the field to be found.
Gets the index position for a field by name. This method can be called on any thread.
Syntax
public int FindField( 
   string fieldName
)
Public Function FindField( _
   ByVal fieldName As String _
) As Integer

Parameters

fieldName
The name of the field to be found.

Return Value

A positive integer value if the field is found indicating the index position of the field. If a field is not found with a name matching the fieldName a -1 is returned.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

RealtimeRow Class
RealtimeRow Members