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


IRelationshipClassContainer.AddRelationshipClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelationshipClassContainer Interface > IRelationshipClassContainer.AddRelationshipClass Method
ArcGIS Developer Help

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