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

RelationshipClass IRelationshipClass
objectThatChanged IObject
RelatedObject IObject

RelatedObjectMoved(IRelationshipClass, IObject, ILine, IObject)

Notifies this object that a related object moved.

void RelatedObjectMoved(IRelationshipClass RelationshipClass, IObject objectThatChanged, ILine moveVector, IObject RelatedObject)

Parameters

RelationshipClass IRelationshipClass
objectThatChanged IObject
moveVector ILine
RelatedObject IObject

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

RelationshipClass IRelationshipClass
objectThatChanged IObject
Origin IPoint
Angle double
RelatedObject IObject

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

RelationshipClass IRelationshipClass
objectsThatNeedToChange ISet
objectsThatChanged ISet
moveVector ILine

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

RelationshipClass IRelationshipClass
objectsThatNeedToChange ISet
objectsThatChanged ISet
Origin IPoint
Angle double