Access the object ID of the attached feature.
[Visual Basic .NET] Public ReadOnly Property OID As Integer
[C#] public int OID {get;}
[C++]
HRESULT get_OID(
long* pOID
);
[C++]Parameters
pOID [out, retval] pOID is a parameter of type long
Product Availability
Available with ArcGIS Engine and ArcGIS Desktop.