IRelatedObjectClassEvents Interface

Provides access to events that occur when related objects are created.

Description

The IRelatedObjectClassEventsinterface is an optional interface that is implemented by class extensions to receive messages about newly created objects in related object classes.

Members

Name Description
Method RelatedObjectCreated Notifies this object class that a related object was created.

IRelatedObjectClassEvents.RelatedObjectCreated Method

Notifies this object class that a related object was created.

Public Sub RelatedObjectCreated ( _
    ByVal RelationshipClass As IRelationshipClass, _
    ByVal objectThatWasCreated As IObject _
)
public void RelatedObjectCreated (
    IRelationshipClass RelationshipClass,
    IObject objectThatWasCreated
);

Remarks

The RelationshipClassargument is useful for establishing new relationships. Since an object class may often participate in many relationships, the properties of RelationshipClasscan be used to modify behavior of this method.

In order for this method to be called, the relationship class must have messaging set. If the object class which this class extension is associated with is the origin class in the relationship class, then the messaging should be set to Backward or Both. If the object class is the destination class in the relationship, then messaging should be set to Forward or Both.

Classes that implement IRelatedObjectClassEvents

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close