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


ITableControl3.SetCurrentRow Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributedUI > ESRI.ArcGIS.GeoDatabaseUI > Interfaces > IT > ITableControl3 Interface > ITableControl3.SetCurrentRow Method
ArcGIS Developer Help

ITableControl3.SetCurrentRow 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 Sub SetCurrentRow ( _
    ByVal isOid As Boolean, _
    ByVal rowNumber As Integer _
)
[C#]
public void SetCurrentRow (
    bool isOid,
    int rowNumber
);

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