This document is archived and information here might be outdated.  Recommended version.


ITableControl3.GetCurrentRow Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseUI)  

ITableControl3.GetCurrentRow Method

The current row the user is on. If isOid=TRUE, then rowNumber is an OID, else it is an offset.

[Visual Basic .NET]
Public Function GetCurrentRow ( _
    ByVal isOid As Boolean _
) As Integer
[C#]
public int GetCurrentRow (
    bool isOid
);

Product Availability

Available with ArcGIS Desktop.

Description

  1. Offset is a number that is relative with respect to a displayed table view. The same offset number when specified could possibly return a different row in a table unlike the Object ID which will return the same row every time.
  2. Zero is valid number for offset (but it really does not offset anything in the Table View). Specifying a value greater than 0 will offset a row. When zero is specified as offset for SetCurrentRow it does not set a current row in the table view at all.

See Also

ITableControl3 Interface