ArcObjects Library Reference  (Carto)    

IRelationshipClassCollectionEdit.AddRelationshipClass Method

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

[Visual Basic 6.0]
Sub AddRelationshipClass(
    ByVal RelationshipClass As IRelationshipClass _
)
[Visual Basic .NET]
Public Sub AddRelationshipClass ( _
    ByVal RelationshipClass As IRelationshipClass _
)
[C#]
public void AddRelationshipClass (
    IRelationshipClass RelationshipClass
);
[Java]
public void addRelationshipClass (
    IRelationshipClass RelationshipClass
)
throws
    IOException,
    AutomationException
[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