This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClass Interface > IRelationshipClass.IsAttributed Property (ArcObjects .NET 10.5 SDK) |
Indicates if the relationships in this relationship class have attributes.
[Visual Basic .NET] Public ReadOnly Property IsAttributed As Boolean
[C#] public bool IsAttributed {get;}
[C++]
HRESULT get_IsAttributed(
VARIANT_BOOL* IsAttributed
);
[C++]
Parameters IsAttributed [out, retval] IsAttributed is a parameter of type VARIANT_BOOL
The IsAttributed property indicates whether this relationship class is attributed or not. An attributed relationship class has extra attributes that are being maintained for each relationship. For example, in a relationship class between parcels and owners, percentage of ownership each particular owner has could be stored as a relationship attribute.
The IsAttributed property will only return true if there are extra relationship attributes beyond those required to relate the objects. In the case of relationship classes with M:N cardinality, there will be a relationship table (see 'AttributedRelationshipClass' in the object model diagram), but IsAttributed will return False, unless there are additional attributes.