Interface IConfirmSendRelatedObjectEvents

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to events that occur when related objects change, move or rotate and confirms that the event be sent.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4A72E282-52BF-11D4-80DD-00C04F601565")]
public interface IConfirmSendRelatedObjectEvents

Remarks

Each property on IConfirmSendRelatedObjectEvents corresponds to a method on IRelatedObjectClassEvents2 and  IRelatedObjectEvents (for example, ConfirmSendRelatedObjectChanged corresponds to RelatedObjectChanged on both interfaces).

The decision to confirm the sending of messages could be based on criteria such as a particular field having been changed. An object can be analyzed for which fields have been modified by accessing the IRowChanges interface or the IFeatureChanges interface for shape information. By eliminating unnecessary calls to IRelatedObjectClassEvents2 and IRelatedObjectEvents, editing performance can be optimized.

ConfirmSendRelatedObjectMoved and ConfirmSendRelatedObjectRotated are currently reserved, and should not define any functionality.  ConfirmSendRelatedObjectSetMoved and ConfirmSendRelatedObjectSetRotated will be always be called, even if the sets only contain a single object.

Methods

ConfirmSendRelatedObjectChanged(IRelationshipClass, IObject)

Notifies this object that a related object changed and asks if events should be sent.

bool ConfirmSendRelatedObjectChanged(IRelationshipClass RelationshipClass, IObject objectThatChanged)

Parameters

RelationshipClass IRelationshipClass
objectThatChanged IObject

Returns

bool

ConfirmSendRelatedObjectMoved(IRelationshipClass, IObject, ILine)

Notifies this object that a related object moved and asks if events should be sent.

bool ConfirmSendRelatedObjectMoved(IRelationshipClass RelationshipClass, IObject objectThatChanged, ILine moveVector)

Parameters

RelationshipClass IRelationshipClass
objectThatChanged IObject
moveVector ILine

Returns

bool

ConfirmSendRelatedObjectRotated(IRelationshipClass, IObject, IPoint, double)

Notifies this object that a related object rotated and asks if events should be sent.

bool ConfirmSendRelatedObjectRotated(IRelationshipClass RelationshipClass, IObject objectThatChanged, IPoint Origin, double Angle)

Parameters

RelationshipClass IRelationshipClass
objectThatChanged IObject
Origin IPoint
Angle double

Returns

bool

ConfirmSendRelatedObjectSetMoved(IRelationshipClass, ISet, ILine)

Notifies this object that a set of objects with relationships to the input set of objects moved and asks if events should be sent.

bool ConfirmSendRelatedObjectSetMoved(IRelationshipClass RelationshipClass, ISet objectsThatChanged, ILine moveVector)

Parameters

RelationshipClass IRelationshipClass
objectsThatChanged ISet
moveVector ILine

Returns

bool

ConfirmSendRelatedObjectSetRotated(IRelationshipClass, ISet, IPoint, double)

Notifies this object that a set of objects with relationships to the input set of objects rotated and asks if events should be sent.

bool ConfirmSendRelatedObjectSetRotated(IRelationshipClass RelationshipClass, ISet objectsThatChanged, IPoint Origin, double Angle)

Parameters

RelationshipClass IRelationshipClass
objectsThatChanged ISet
Origin IPoint
Angle double

Returns

bool