IRowEvents Interface

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

Members

Name 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.

IRowEvents.OnChanged Method

An after event that is fired when a custom object is changed.

Public Sub OnChanged ( _
)
public void OnChanged (
);

Remarks

The OnChangedmethod is called by the geodatabase when an application program calls Storeon an existing Row object.

IRowEvents.OnDelete Method

An after event that is fired when a custom object is deleted.

Public Sub OnDelete ( _
)
public void OnDelete (
);

Remarks

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

IRowEvents.OnInitialize Method

An after event that is fired when a custom object is initialized.

Public Sub OnInitialize ( _
)
public 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.

IRowEvents.OnNew Method

An after event that is fired when a custom object is Stored for the first time.

Public Sub OnNew ( _
)
public void OnNew (
);

Remarks

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

IRowEvents.OnValidate Method

An after event that is fired when a custom object is validated.

Public Sub OnValidate ( _
)
public void OnValidate (
);

Classes that implement IRowEvents

Classes Description
Feature Esri Feature.

Remarks

The IRowEventsinterface 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 IRowEventsinterface as changes are made to the state of a row object (see the description of the IRow::Storeand IRow::Deletemethods).

The OnChangedmethod is called by the geodatabase when an application program calls Storeon an existing Row object.

The OnNewmethod is called by the geodatabase when an application program calls Storeon a newly created Row object.

The OnDeletemethod is called by the geodatabase when an application program calls Deleteon a Row object.

The OnInitializemethod 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 OnValidatemethod is unused (deprecated).

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.