ArcGIS Pro 2.6 API Reference Guide
Create(RelationshipDescription) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > Create Method : Create(RelationshipDescription) Method
A description of the relationship to create.
Creates a new relationship between the two specified rows in the RelationshipDescription. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void Create( 
   RelationshipDescription relationship
)
Public Overloads Sub Create( _
   ByVal relationship As RelationshipDescription _
) 

Parameters

relationship
A description of the relationship to create.
Remarks
The CreateRelationship method creates a relationship between the origin row and the destination row specified in the RelationshipDescription.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

EditOperation Class
EditOperation Members
Overload List