IClass.OIDFieldName Property (ArcObjects .NET 10.6 SDK)
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
public string OIDFieldName {get;}
HRESULT get_OIDFieldName(
  System.String* Name

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

.NET Samples

Multivariate renderer (Code Files: MultivariateRenderer)

.NET Related Topics

Creating class extensions | GeoDatabaseUI | How to create a dynamic geocoded feature class | How to create graph series with different color types