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


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

IClass.HasOID Property

Indicates if the class has an object identity (OID) field.

[Visual Basic .NET]
Public ReadOnly Property HasOID As Boolean
[C#]
public bool HasOID {get;}
[C++]
HRESULT get_HasOID(
  Boolean* HasOID
);
[C++]
Parameters
HasOID [out, retval]

HasOID is a parameter of type bool*

Product Availability

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

See Also

IClass Interface