ArcGIS Pro 2.7 API Reference Guide
GetObjectIdAsync Method

ArcGIS.Desktop.Editing Namespace > TableControl Class : GetObjectIdAsync Method
The index of the row.
Gets the object id for a row in the current ViewMode of the table.
Syntax
public Task<long> GetObjectIdAsync( 
   int rowIndex
)
Public Function GetObjectIdAsync( _
   ByVal rowIndex As Integer _
) As Task(Of Long)

Parameters

rowIndex
The index of the row.

Return Value

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

TableControl Class
TableControl Members