Interface IRelatedObjectClassEvents
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to events that occur when related objects are created.
[Guid("22B00699-8895-11D2-8A0D-006097AFF44E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRelatedObjectClassEvents
Methods
RelatedObjectCreated(IRelationshipClass, IObject)
Notifies this object class that a related object was created.
void RelatedObjectCreated(IRelationshipClass RelationshipClass, IObject objectThatWasCreated)
Parameters
RelationshipClassIRelationshipClassobjectThatWasCreatedIObject
Remarks
The RelationshipClass argument is useful for establishing new relationships. Since an object class may often participate in many relationships, the properties of RelationshipClass can 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.