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


IRelationshipClassCollectionEdit.AddRelationshipClass Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IRelationshipClassCollectionEdit.AddRelationshipClass Method

Adds the specified memory relationship class to a standalone table or layer.

[Visual Basic .NET]
Public Sub AddRelationshipClass ( _
    ByVal RelationshipClass As IRelationshipClass _
)
[C#]
public void AddRelationshipClass (
    IRelationshipClass RelationshipClass
);
[C++]
HRESULT AddRelationshipClass(
  IRelationshipClass* RelationshipClass
);
[C++]

Parameters RelationshipClass [in]
RelationshipClass is a parameter of type IRelationshipClass*

Product Availability

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

See Also

IRelationshipClassCollectionEdit Interface