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


ITable.GetRow Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  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

.NET Snippets

Write Blob Field Contents To File

.NET Samples

Customizing schematic feature removal events (Code Files: FeatureRemovalMgmt)

.NET Related Topics

How to create a raster unique value renderer | Sorting tables