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


IRelationshipClassContainer.AddRelationshipClass Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRelationshipClassContainer.AddRelationshipClass Method

Transfers ownership of a relationship class to this container.

[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

IRelationshipClassContainer Interface