Interface IRelatedObjectClassEvents2
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to events that occur when related objects are modified.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("C0E79D54-844C-11D4-80ED-00C04F601565")]
public interface IRelatedObjectClassEvents2
Remarks
RelatedObjectMoved and RelatedObjectRotated are currently reserved. A class extension implementing this interface must include these two methods, but since they will not be called, the methods should remain empty. Feature movement and rotation triggers the RelatedObjectSetMoved and RelatedObjectSetRotated methods, where functionality should be defined.
Methods
RelatedObjectChanged(IRelationshipClass, IObject, IObject)
Notifies this object that a related object changed.
void RelatedObjectChanged(IRelationshipClass RelationshipClass, IObject objectThatChanged, IObject RelatedObject)
Parameters
RelationshipClassIRelationshipClassobjectThatChangedIObjectRelatedObjectIObject
RelatedObjectMoved(IRelationshipClass, IObject, ILine, IObject)
Notifies this object that a related object moved.
void RelatedObjectMoved(IRelationshipClass RelationshipClass, IObject objectThatChanged, ILine moveVector, IObject RelatedObject)
Parameters
RelationshipClassIRelationshipClassobjectThatChangedIObjectmoveVectorILineRelatedObjectIObject
RelatedObjectRotated(IRelationshipClass, IObject, IPoint, double, IObject)
Notifies this object that a related object rotated.
void RelatedObjectRotated(IRelationshipClass RelationshipClass, IObject objectThatChanged, IPoint Origin, double Angle, IObject RelatedObject)
Parameters
RelationshipClassIRelationshipClassobjectThatChangedIObjectOriginIPointAngledoubleRelatedObjectIObject
RelatedObjectSetMoved(IRelationshipClass, ISet, ISet, ILine)
Notifies this object that a set of objects with relationships to the input set of objects moved.
void RelatedObjectSetMoved(IRelationshipClass RelationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, ILine moveVector)
Parameters
RelationshipClassIRelationshipClassobjectsThatNeedToChangeISetobjectsThatChangedISetmoveVectorILine
RelatedObjectSetRotated(IRelationshipClass, ISet, ISet, IPoint, double)
Notifies this object that a set of objects with relationships to the input set of objects rotated.
void RelatedObjectSetRotated(IRelationshipClass RelationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, IPoint Origin, double Angle)
Parameters
RelationshipClassIRelationshipClassobjectsThatNeedToChangeISetobjectsThatChangedISetOriginIPointAngledouble