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


ITable.GetRow Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITable Interface > ITable.GetRow Method
ArcGIS Developer Help

ITable.GetRow Method

The row from the database with the specified object ID.

[Visual Basic .NET]
Public Function GetRow ( _
    ByVal OID As Integer _
) As IRow
[C#]
public IRow GetRow (
    int OID
);
[C++]
HRESULT GetRow(
  long OID
);
[C++]
Parameters
OID [in]

OID is a parameter of type long

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

.NET Samples

Customizing schematic feature removal events