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 _
public void AddRelationshipClass (
    IRelationshipClass RelationshipClass
public void addRelationshipClass (
    IRelationshipClass RelationshipClass
HRESULT AddRelationshipClass(
  IRelationshipClass* RelationshipClass


RelationshipClass [in]

  RelationshipClass is a parameter of type IRelationshipClass

Product Availability

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

See Also

IRelationshipClassCollectionEdit Interface