ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Editing.Controls Namespace / TableControl Class / GetObjectIdAsync Method
The index of the row.

In This Topic
    GetObjectIdAsync Method (TableControl)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also