This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelatedObjectEvents Interface (ArcObjects .NET 10.5 SDK) |
Provides access to events that occur when related objects change, move or rotate.
Description | ||
---|---|---|
RelatedObjectChanged | Notifies this object that a related object changed. | |
RelatedObjectMoved | Notifies this object that a related object moved. | |
RelatedObjectRotated | Notifies this object that a related object rotated. | |
RelatedObjectSetMoved | Notifies this object that a set of objects with relationships to the input set of objects moved. | |
RelatedObjectSetRotated | Notifies this object that a set of objects with relationships to the input set of objects rotated. |
CoClasses and Classes | Description |
---|---|
AnnotationFeature (esriCarto) | An Esri annotation feature. |
ComplexEdgeFeature | Esri Complex edge geometric network feature object. |
ComplexJunctionFeature | Esri Complex junction geometric network feature. |
CoverageAnnotationFeature | Esri Coverage Annotation Feature. |
DimensionFeature (esriCarto) | Esri Dimension Feature class. |
Feature | Esri Feature. |
GeocodedFeature (esriLocation) | A feature created by a locator. |
NALocationFeature (esriNetworkAnalyst) | A network location which can be used like a feature or a row. |
NALocationObject (esriNetworkAnalyst) | A network location which can be used like a row. |
NALocationRangesFeature (esriNetworkAnalyst) | A container of NALocationRanges which can be used like a feature or a row. |
NALocationRangesObject (esriNetworkAnalyst) | A container of NALocationRanges which can be used like a row. |
NATraversalResultElement (esriNetworkAnalyst) | An individual element in a traversal result. |
Object | Esri Object object. |
RasterCatalogItem | Raster Catalog Feature Class. |
Row | Esri Row object. |
SchematicDiagram (esriSchematic) | A schematic diagram object. |
SchematicInMemoryFeatureLink (esriSchematic) | Schematic in memory feature link object. |
SchematicInMemoryFeatureNode (esriSchematic) | Schematic in memory feature node object. |
SchematicInMemoryFeatureNodeOnLink (esriSchematic) | Schematic in memory feature node on link object. |
SchematicInMemoryFeatureSubLink (esriSchematic) | Schematic in memory feature sublink object. |
SchematicLink (esriSchematic) | A schematic link object. |
SchematicNode (esriSchematic) | A schematic node object. |
SchematicNodeOnLink (esriSchematic) | A schematic node-on-link object. |
SchematicSubLink (esriSchematic) | A schematic sublink object. |
SimpleEdgeFeature | Esri Geometric network simple edge feature object. |
SimpleJunctionFeature | Esri Geometric network simple junction feature object. |
TopologyErrorFeature | Esri Topology Error Feature object. |
The IRelatedObjectEvents interface is relevant only to developers of custom objects and features. It is similar to IRowEvents except that the methods are called by the geodatabase in response to events on a related object.
A custom object can implement this interface in order to respond to these events, for example, if a change in the attribute of a related object needs to trigger a change in the attributes of this object.
RelatedObjectMoved and RelatedObjectRotated are currently reserved. A custom feature 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.
In most cases, a class extension that implements the IRelatedObjectClassEvents2 interface should be used instead of a custom feature that implements this interface, as class extensions are generally more stable and more efficient.