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


IRelationshipClass.RelationshipClassID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClass Interface > IRelationshipClass.RelationshipClassID Property
ArcGIS Developer Help

IRelationshipClass.RelationshipClassID Property

The relationship class ID.

[Visual Basic .NET]
Public ReadOnly Property RelationshipClassID As Integer
[C#]
public int RelationshipClassID {get;}
[C++]
HRESULT get_RelationshipClassID(
  System.Int32* relClassId
);
[C++]
Parameters
relClassId [out, retval]

relClassId is a parameter of type long*

Product Availability

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

Remarks

The RelationshipClassID property returns the ID of the relationship class. This ID uniquely identifies a relationship class within its geodatabase relative to other relationship classes.  It is equivalent to IObjectClass::ObjectClassID except that it applies to relationship classes rather than object classes.

See Also

IRelationshipClass Interface