This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClass Interface > IRelationshipClass.Cardinality Property (ArcObjects .NET 10.4 SDK) |
The cardinality for the relationship class.
[Visual Basic .NET] Public ReadOnly Property Cardinality As esriRelCardinality
[C#] public esriRelCardinality Cardinality {get;}
[C++]
HRESULT get_Cardinality(
esriRelCardinality* Cardinality
);
[C++]
Parameters Cardinality [out, retval]
Cardinality is a parameter of type esriRelCardinality
The Cardinality property returns the cardinality of the relationship class as an esriRelCardinality enumeration value. It refers to the type of relationship formed between an origin class and a destination class. It can be one of three types: esriRelCardinalityOneToOne (1-1), esriRelCardinalityOneToMany (1-M), or esriRelCardinalityManyToMany (M-N).