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


IClass.HasOID Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  VARIANT_BOOL* HasOID
);
[C++]

Parameters HasOID [out, retval] HasOID is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IClass Interface