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