ArcObjects Library Reference (GeoDatabase)  

IRowEvents Interface

Provides access to events that occur when an object is modified, created or deleted.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method OnChanged An after event that is fired when a custom object is changed.
Method OnDelete An after event that is fired when a custom object is deleted.
Method OnInitialize An after event that is fired when a custom object is initialized.
Method OnNew An after event that is fired when a custom object is Stored for the first time.
Method OnValidate An after event that is fired when a custom object is validated.

CoClasses that implement IRowEvents

CoClasses and Classes Description
AnnotationFeature (esriCarto) An ESRI annotation feature.
AttributedRelationship ESRI Attributed Relationship object.
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.

Remarks

The IRowEvents interface allows implementers of custom row objects to take special action in response to changes made to the state of a row object. The geodatabase calls the methods in the IRowEvents interface as changes are made to the state of a row object (see the description of the IRow::Store and IRow::Delete methods).

The OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.

The OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.

The OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.

The OnInitialize method is called by the geodatabase after hydrating a cocreated Row object with its state (its set of field values) but before handing the Row to an application program. This is an opportunity for the Row object to initialize further state and derived member variables.

The OnValidate method is unused (deprecated).