ArcObjects Library Reference  (GeoDatabase)    

ITable.GetRow Method

The row from the database with the specified object ID.

[Visual Basic 6.0]
Function GetRow(
    ByVal OID As Long _
) As IRow
[Visual Basic .NET]
Public Function GetRow ( _
    ByVal OID As Integer _
) As IRow
public IRow GetRow (
    int OID
public IRow getRow (
    int OID
  long OID,
  IRow** Row


OID [in]

  OID is a parameter of type long

Row [out, retval]

  Row is a parameter of type IRow

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The GetRow method returns an existing row object, given its object ID value. The caller can query the returned row object for additional object specific interfaces. The retrieved row may be modified; calling Store on the row object after changing it will trigger messages to related objects and will mark the row for committing to the database.

See Also

ITable Interface


ITable GetRow Example