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


IClass.OIDFieldName Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > IClass Interface > IClass.OIDFieldName Property
ArcGIS Developer Help

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(
  System.String* 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

.NET Samples

Multivariate renderer