ArcGIS Pro 2.9 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.
Syntax
public void Create( 
   RelationshipDescription relationship
)
Public Overloads Sub Create( _
   ByVal relationship As RelationshipDescription _
) 

Parameters

relationship
A description of the relationship to create.
Exceptions
ExceptionDescription
Relationship cannot be null.
Remarks
The CreateRelationship method creates a relationship between the origin row and the destination row specified in the RelationshipDescription.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List