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
[C#]
public IRow GetRow (
    int OID
);
[Java]
public IRow getRow (
    int OID
)
throws
    IOException,
    AutomationException
[C++]
HRESULT GetRow(
  long OID,
  IRow** Row
);
[C++]

Parameters

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.

Remarks

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

Example

ITable GetRow Example