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


IRow.OID Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRow.OID Property

The OID for the row.

[Visual Basic .NET]
Public ReadOnly Property OID As Integer
[C#]
public int OID {get;}
[C++]
HRESULT get_OID(
  long* OID
);
[C++]

Parameters OID [out, retval] OID is a parameter of type long

Product Availability

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

Description

Gets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.

See Also

IRow Interface