Interface IRowEvents
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to events that occur when an object is modified, created or deleted.
[Guid("8C387320-12C6-11D2-AAD1-00C04FA37B81")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRowEvents
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).
Methods
OnChanged()
An after event that is fired when a custom object is changed.
void OnChanged()
Remarks
The OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
OnDelete()
An after event that is fired when a custom object is deleted.
void OnDelete()
Remarks
The OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
OnInitialize()
An after event that is fired when a custom object is initialized.
void OnInitialize()
Remarks
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.
OnNew()
An after event that is fired when a custom object is Stored for the first time.
void OnNew()
Remarks
The OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
OnValidate()
An after event that is fired when a custom object is validated.
void OnValidate()