ArcObjects Library Reference (GeoDatabase)  

IClass.OIDFieldName Property

The name of the field corresponding to the OID.

[Visual Basic .NET]
Public ReadOnly Property OIDFieldName As String
[C#]
public string OIDFieldName {get;}
[C++]
HRESULT get_OIDFieldName(
  BSTR* Name
);
[C++]

Parameters

Name [out, retval]   Name is a parameter of type BSTR

Product Availability

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

See Also

IClass Interface