ArcGIS Pro 2.9 API Reference Guide
GetRowIndexAsync Method

ArcGIS.Desktop.Editing Namespace > TableControl Class : GetRowIndexAsync Method
The object id of the row.
Only search the active pages of the table for the object id.
Gets the index of a row in the current ViewMode of the table.
Syntax
public Task<int> GetRowIndexAsync( 
   long objectId,
   bool activePageSearch
)
Public Function GetRowIndexAsync( _
   ByVal objectId As Long, _
   ByVal activePageSearch As Boolean _
) As Task(Of Integer)

Parameters

objectId
The object id of the row.
activePageSearch
Only search the active pages of the table for the object id.

Return Value

The index of the row or -1 if the object id is not found.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

TableControl Class
TableControl Members