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


IRelationshipClass.RelationshipClassID Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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